public async Task <ActionResult <IEnumerable <ResponseOrder> > > GetAllOrders() { var orders = await northwindRepository.GetAllOrders(); if (orders == null) { return(NotFound("No order found")); } return(Ok(orders)); }
public async Task <ActionResult <IEnumerable <ResponseOrder> > > GetAllOrders() { var orders = await northwindRepository.GetAllOrders(); if (orders == null) { return(NotFound("No order found")); } return(Ok(orders)); }