Ejemplo n.º 1
0
 public int UpdateRagistration(PR_SchoolRegistration oRegData)
 {
     try
     {
         db.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);
     }
 }
Ejemplo n.º 2
0
 public string InsertRagistration(PR_SchoolRegistration oRegData)
 {
     try
     {
         db.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 + "");
     }
 }
Ejemplo n.º 3
0
 public int AdminSchoolAloteAll(PR_SchoolRegistration oRegData)
 {
     try
     {
         //F1 is Supplier ID so School Connect to Supplier
         db.SP_AdminSchoolAloteAll(oRegData.F1);
         return(1);
     }
     catch
     {
         return(0);
     }
 }