Beispiel #1
0
        public async Task <List <OrderViewModel> > GetOrderByDateandName(DateTime?_date, string name)
        {
            var list = new List <OrderViewModel>();

            list = await _orderRespository.GetOrderByDateandName(_date, name);

            return((list == null) ? new List <OrderViewModel>() : list);
        }