public ActionResult Insert_UpdateBranch(string Insert_Update, int hdnBranchId, int CustomerId, string BranchName, string BranchAddress, string ContactPerson, string BranchContactMobile, string BranchContactEmailId) { List <string> Response = new List <string>(); using (SecurityDBEntities entites = new SecurityDBEntities()) { Response = entites.BranchMInsert_Update_set(Convert.ToInt32(Insert_Update), hdnBranchId, CustomerId, BranchName, BranchAddress, ContactPerson, BranchContactMobile, BranchContactEmailId, Convert.ToInt32(Session["Userid"])).ToList(); } return(Json(Response)); }