public IQueryable <ApiTypes.Contract> GetContracts() { return(contractsRepo.GetAll() .ProjectTo <ApiTypes.Contract>()); }
public IEnumerable<Contracts> GetAll() { return _repository.GetAll(); }