// GET: BaseLayers/Delete/5 public ActionResult Delete(int id) { var tagsRepository = new TagsRepository(); var model = tagsRepository.GetById(id); if (model != null) return View(model); return HttpNotFound(); }
// GET: BaseLayers/Details/5 public ActionResult Details(long id) { var tagsRepository = new TagsRepository(); var model = tagsRepository.GetById(id); if (model != null) return View(model); else return HttpNotFound(); }