コード例 #1
0
        public async Task <ProjectTaskDTO> EditAsync([FromBody] ProjectTaskDTO model)
        {
            if (!TryValidateModel(model))
            {
                throw new Exception("400");
            }

            return(await _projectTaskService.EditAsync(model));
        }