using BeWo.Data.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeWo.Service.Interfaces { public interface IJsonMapper where TDC : new() where TEntity : BeWoEntityBase, new() { Dictionary ToJsonDictionary(TDC pDC); Dictionary ToJsonDictionary(TEntity pEntity); IList> ToJsonDictionary(IList pEntities); IList> ToJsonDictionary(IList pDCs); } }