private UserDto GetDtoByFilters( Expression <Func <User, bool> > filter = null, Func <IQueryable <User>, IOrderedQueryable <User> > orderBy = null, string includeProperties = null) { var domain = GetByFilters(filter, orderBy, includeProperties).SingleOrDefault(); return(DomainServicesMapper.MapToUserDto(domain)); }
public UserDto GetByIds(params object[] ids) { var domain = repository.GetByPKs(ids); return(DomainServicesMapper.MapToUserDto(domain)); }