Ejemplo n.º 1
0
        public async ValueTask <RequestResult <Order> > GetCashInAbroad()
        {
            var result = new RequestResult <Order>();

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

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