Пример #1
0
        public static int Insert(MDonor ent, BaseRequest baseRequest, ref int DonorId)
        {
            int Registered = 0;

            int Result = DADonor.ValidateInsert(ent.Cellphone, ent.Email, ref Registered, ref DonorId);

            ent.Registered = Registered;

            if (Result == 0)
            {
                return(DADonor.Insert(ent, baseRequest));
            }
            else
            {
                return(Result);
            }
        }
Пример #2
0
 public static List <MDonor> List(MDonor ent, ref int Val)
 {
     return(DADonor.Lis(ent, ref Val));
 }
Пример #3
0
 public static int Delete(MDonor ent)
 {
     return(DADonor.Delete(ent));
 }
Пример #4
0
 public static MDonor Select(MDonor ent, ref int Val)
 {
     return(DADonor.Select(ent, ref Val));
 }
Пример #5
0
 public static MDonor Login(MDonor ent, ref int Val)
 {
     return(DADonor.Login(ent, ref Val));
 }
Пример #6
0
 public static int ChangePassword(MDonor ent)
 {
     return(DADonor.ChangePassword(ent));
 }
Пример #7
0
 public static int ValidateCode(MDonor ent)
 {
     return(DADonor.ValidateCode(ent));
 }
Пример #8
0
 public static MDonor ValidateDonor(MDonor ent, ref int Val)
 {
     return(DADonor.ValidateDonor(ent, ref Val));
 }
Пример #9
0
 public static int UpdateCode(MDonor ent)
 {
     return(DADonor.UpdateCode(ent));
 }