예제 #1
0
        public async Task <IActionResult> Remove([FromBody] RemoveModel model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState.GetFirstError()));
            }
            await _subTaskService.Remove(model.CompanyId, model.Id);

            return(Ok());
        }