Ejemplo n.º 1
0
        public ActionResult Insert_UpdateCustomer(string Insert_Update, string hdnCustId, string ClientId, string CustomerName, string CustomerAddr, string CustMob, string CustMailid)
        {
            List <string> response = new List <string>();

            using (SecurityDBEntities entity = new SecurityDBEntities())
            {
                response = entity.CustomerMInsert_Update_set(Convert.ToInt32(Insert_Update), Convert.ToInt32(hdnCustId), Convert.ToInt32(ClientId), CustomerName, CustMob, CustMailid, CustomerAddr, Convert.ToInt32(Session["Userid"])).ToList();
            }
            return(Json(response));
        }