public ActionResult TableEdit() { TitleEditViewModel model = new TitleEditViewModel(); model.Titles = _pubsService.ListTitles(); model.Authors = _pubsService.ListAuthors(); model.PublisherSelectList = new SelectList(_pubsService.ListPublishers(), "PublisherID", "Name"); return(View(model)); }
public ActionResult AuthorFilter() { AuthorFilterViewModel model = new AuthorFilterViewModel(); model.Publishers = _pubsService.ListPublishers(); model.Authors = new List <Author>(); return(View(model)); }
// GET: Publisher public ActionResult Index() { _telemetryClient.TrackTrace("Publisher Index: Retrieving Publishers..."); List <Publisher> model = _pubsService.ListPublishers(); return(View(model)); }
// GET: Publisher public ActionResult Index() { List <Publisher> model = _pubsService.ListPublishers(); return(View(model)); }