public IActionResult PreviewNew(int Id) { var specificNew = newService.PreviewNew(Id); if (specificNew == null) { return(this.RedirectToAction("Index", "Home")); } return(this.View(specificNew)); }
public IActionResult PreviewNew(int Id) { var specificNew = newService.PreviewNew(Id); if (specificNew == null) { return(this.RedirectToAction("Index", "Home")); } return(this.View(specificNew)); }