public ActionResult Detail(int id = 0) { Result <Venues> model = new Result <Venues>(); if (id > 0) { model = _venueService.Find(id); return(View(model.data)); } return(View(model.data)); }