public RatesDto GetByIds(params object[] ids) { Logger.AddLOGMsg($"Get By Ids: {ids}"); var domain = repository.GetByPKs(ids); return(DomainServicesMapper.MapToRatesDto(domain)); }
private RatesDto GetDtoByFilters( Expression <Func <Rates, bool> > filter = null, Func <IQueryable <Rates>, IOrderedQueryable <Rates> > orderBy = null, string includeProperties = null) { var domain = GetByFilters(filter, orderBy, includeProperties).SingleOrDefault(); return(DomainServicesMapper.MapToRatesDto(domain)); }