using System.Collections.Generic; using BeWo.Data.Entities; using BS.Shared.DataContracts; namespace BeWo.Service.DCEntityMapper { public static class MappingExtensions { #region Public Methods public static SupportConceptCostBearerRelDC MapToNewDC(this CostBearer2SupportConcept ths) { return MapperFactory.SupportConceptCostBearerRelDC_CostBearer2SupportConcept.MapToNewDC(ths); } public static SupportConceptApprovalPeriodDC MapToNewDC(this SupportConceptApprovalPeriod ths) { return MapperFactory.SupportConceptApprovalPeriodDC_SupportConceptApprovalPeriod.MapToNewDC(ths); } public static List MapToNewDCs(this IEnumerable ths) { return MapperFactory.CostRatePeriodDC_CostRatePeriod.MapToNewDCs(ths); } public static List MapToNewDCs(this IEnumerable ths) { return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(ths); } public static List MapToNewDCsCompact(this IEnumerable ths) { return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(ths); } #endregion } }