public IEnumerable <CheckoutDto> GetCheckouts() { return(_mapper.Map <ICollection <CheckoutDto> >(_checkoutRepository.GetAll())); }
public async Task <IEnumerable <CheckoutVM> > GetAll() { return(await _checkoutRepository.GetAll()); }