Exemple #1
0
        public AjaxResult CreateMoney(CurrencyModel money)
        {
            if (ModelState.IsValid)
            {
                _stockManagementService.CreateCurrency(money);
                return(new AjaxResult(AjaxResultState.OK));
            }

            return(new AjaxResult(AjaxResultState.Error));
        }