Пример #1
0
        public async Task <IActionResult> Add(ColumnViewModel columnViewModel)
        {
            var isSuccess = await _columnService.AddColumnAsync(columnViewModel);

            if (!isSuccess)
            {
                return(this.BadRequestResult("添加失败!"));
            }
            return(Ok());
        }