public ActionResult Operation(AboutUs inputs) { ViewBag.userName = User.Identity.Name; if (inputs.id == 0) { //Create Mode #region Create AboutUs ViewBag.msg = AboutUsTable.Create(inputs); #endregion } else { //Update Mode #region Update AboutUs AboutUsTable.Update(inputs); #endregion } return(Redirect("/Admin/AboutUs")); }