Пример #1
0
        public async Task <List <OrderViewModel> > GetOrderByDate(string empid)
        {
            var list = new List <OrderViewModel>();

            list = await _orderRespository.GetOrderByDate(empid);

            return(list);
        }
Пример #2
0
        public async Task <List <OrderViewModel> > GetOrderByDate(DateTime?_date)
        {
            var list = new List <OrderViewModel>();

            list = await _orderRespository.GetOrderByDate(_date);

            return((list == null) ? null : list);
        }