public ActionResult Edit(int id) { if (IsLogined()) { var driver = InitData.GetDriversByID(id); var vieDriver = Helper.Convert.GetDriverViewModel(driver); return(View(vieDriver)); } return(RedirectToAction("Index")); }
public ActionResult Edit(int id) { if (IsLogined()) { var driver = InitData.GetDriversByID(id); var vieDriver = Helper.Convert.GetDriverViewModel(driver); return(View(vieDriver)); } return(RedirectToAction("Index")); }