public ActionResult edit(Company obj) { obj.ModificationDate = Utility.GetCurrentDateInt(); obj.ModificationTime = Utility.GetCurrentTimeInt(); obj.ModifiedBy = LoggedUserID; _db.EditCompany(obj); return(RedirectToAction("index")); }