示例#1
0
 public TaskGroup AddTaskGroup([FromBody] TaskGroupModel taskGroup)
 {
     return(_taskGroupService.AddTaskGroup(taskGroup));
 }
示例#2
0
 public IHttpActionResult AddTaskGroup([FromBody] TaskGroupModel taskGroup)
 {
     return(Ok(taskGroupService.AddTaskGroup(taskGroup)));
 }