public async ValueTask <RequestResult <List <OrdersByDates> > > GetOrdersByDates(DateTime FromDate, DateTime toDate) { var result = new RequestResult <List <OrdersByDates> >(); try { result.RequestData = await _orderStorage.GetOrdersByDates(FromDate, toDate); result.IsOk = true; } catch (Exception ex) { result.ExMessage = ex.Message; } return(result); }