Пример #1
0
        public async Task <IActionResult> AddDataTypeClass(DataTypeClassInput input)
        {
            int result = 0;

            try
            {
                await _dataTypeService.CreateDataTypeClass(input);
            }
            catch (System.Exception)
            {
                result = -1;
            }
            return(Json(result));
        }