public ActionResult EditShop(SignUpDTO obj) { if (ModelState.IsValid) { try { _adminData.EditDetails(obj); return(RedirectToAction("Active", "Admin")); } catch (Exception ex) { throw; } } return(View()); }