public async Task <IEnumerable <DealModel> > GetAllDeal()
        {
            var data = await _repo.GetAll();

            return(data);
        }
Example #2
0
 public IEnumerable <Deal> GetAllDeals()
 {
     return(repository.GetAll());
 }