9 lines
235 B
C#
9 lines
235 B
C#
using System.Dynamic;
|
|
|
|
namespace Server.Helpers;
|
|
|
|
public interface IDataShaper<T>
|
|
{
|
|
IEnumerable<ExpandoObject> ShapeData(IEnumerable<T> entities, string? fieldsString);
|
|
ExpandoObject ShapeData(T entity, string? fieldsString);
|
|
} |