public ActionResult Edit(long id = 0) { if (id == 0) { return(View(new Cat())); } var info = CatBll.GetById(id); return(View(info)); }