public int UpdateRagistration(PR_SuplierSrgistration oRegData) { try { db.SP_tbl_SP_UpdateRegistration(oRegData.Id, oRegData.Pwd, oRegData.Email, oRegData.ScholName, oRegData.Phno, oRegData.F1, oRegData.F2, oRegData.F3, oRegData.F4, oRegData.IsActive); return(1); } catch { return(0); } }
public string InsertRagistration(PR_SuplierSrgistration oRegData) { try { db.SP_Tbl_Sp_InsertschoolRegistration(oRegData.Id, oRegData.Pwd, oRegData.Email, oRegData.ScholName, oRegData.Phno, oRegData.F1, oRegData.F2, oRegData.F3, oRegData.F4, oRegData.IsActive); return("1"); } catch (Exception e) { return(e.Message + ""); } }