public ActionResult <ListOfTasks> CreateList(List <MyTask> myTasks, string name) { var listToCreate = _services.CreateList(myTasks, name); if (listToCreate == null) { return(NotFound()); } return(listToCreate); }
public ActionResult <ListOfTasks> CreateList(List <MyTask> myTasks, string name) { var listToCreate = _services.CreateList(myTasks, name); if (listToCreate == null) { return(NotFound()); } return(listToCreate); }