public async Task <List <OrderViewModel> > GetAllOrder() { var list = new List <OrderViewModel>(); list = await _orderRespository.GetAllOrder(); return((list != null) ? list : new List <OrderViewModel>()); }
public async Task <List <OrderViewModel> > GetAllOrder() { var list = new List <OrderViewModel>(); list = await _orderRespository.GetAllOrder(); return((list != null) ? list : new List <OrderViewModel>()); }