public async Task <ActionResult <IEnumerable <CustomerDapper> > > GetAll() { return(Ok(await _customerData.GetAllAsync())); }
public async Task <ICollection <Customer> > GetAllAsync() { return(await _customerData.GetAllAsync()); }