public TaskGroup AddTaskGroup([FromBody] TaskGroupModel taskGroup) { return(_taskGroupService.AddTaskGroup(taskGroup)); }
public IHttpActionResult AddTaskGroup([FromBody] TaskGroupModel taskGroup) { return(Ok(taskGroupService.AddTaskGroup(taskGroup))); }