예제 #1
0
 public IEnumerable <CheckoutDto> GetCheckouts()
 {
     return(_mapper.Map <ICollection <CheckoutDto> >(_checkoutRepository.GetAll()));
 }
예제 #2
0
 public async Task <IEnumerable <CheckoutVM> > GetAll()
 {
     return(await _checkoutRepository.GetAll());
 }