public ActionResult <IEnumerable <TaskList> > CreateToDoItemList(TaskList taskList) { TaskList createdList = toDoItemService.CreateToDoItemList(taskList); return(Created($"/lists/{createdList.taskListId}/tasks", createdList)); }
public ActionResult <IEnumerable <TaskList> > CreateToDoItemList(TaskList taskList) { TaskList createdList = toDoItemService.CreateToDoItemList(taskList); return(Created($"/lists/{createdList.taskListId}/tasks", createdList)); }