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