public ActionResult <IEnumerable <TypeToDo> > Get()
        {
            var types = repository.GetAll();

            return(types);
        }
Beispiel #2
0
 public IActionResult Create()
 {
     ViewBag.TypesToDos = repositoryType.GetAll();
     return(View());
 }