示例#1
0
        public async ValueTask <RequestResult <List <WarehouseTotalCost> > > GetTotalCostByWarehouse()
        {
            var result = new RequestResult <List <WarehouseTotalCost> >();

            try
            {
                result.RequestData = await _orderStorage.GetTotalCostByWarehouse();

                result.IsOk = true;
            }
            catch (Exception ex)
            {
                result.ExMessage = ex.Message;
            }
            return(result);
        }