コード例 #1
0
        public ActionResult Insert_UpdateSite(string Insert_Update, int hdnSiteId, int ClusterId, string SiteName, string SiteAddress, string SiteContactPerson, string SiteContactMobile, string SiteContactEmailId, string SiteDeactivate)
        {
            List <string> Response = new List <string>();

            using (SecurityDBEntities entity = new SecurityDBEntities())
            {
                Response = entity.SiteMInsert_Update_set(Convert.ToInt32(Insert_Update), hdnSiteId, ClusterId, SiteName, SiteAddress, SiteContactPerson, SiteContactMobile, SiteContactEmailId, Convert.ToInt32(Session["Userid"])).ToList();
            }
            return(Json(Response));
        }