public ActionResult <List <Models.Telephone> > Select() { var telephones = repo.Select(); if (telephones == null) { return(NoContent()); } return(Ok(telephones)); }
public IActionResult Index() { ViewBag.Select = repo.Select(); return(View()); }
public ActionResult <List <Models.Telephone> > Select() { var telephones = repo.Select(); if (telephones == null) { return(NoContent()); } return(Ok(telephones)); }
public IActionResult Index() { ViewBag.Select = repo.Select(); return(View()); }