Exemplo n.º 1
0
 public static int Update(ENOTLAR item)
 {
     if (item.OGRENCINO1 != null && item.ACILANDERS1 != null)
     {
         return(FNOTLAR.Update(item));
     }
     else
     {
         return(-1);
     }
 }
Exemplo n.º 2
0
 public static ENOTLAR Select(int ogrenciId, int dersId)
 {
     if (ogrenciId > 0 && dersId > 0)
     {
         return(FNOTLAR.Select(ogrenciId, dersId));
     }
     else
     {
         return(null);
     }
 }
Exemplo n.º 3
0
 public static int Delete(int dersId)
 {
     if (dersId > 0)
     {
         return(FNOTLAR.Delete(dersId));
     }
     else
     {
         return(-1);
     }
 }
Exemplo n.º 4
0
 public static List <ENOTLAR> Select(int ogrenciId)
 {
     if (ogrenciId > 0)
     {
         return(FNOTLAR.Select(ogrenciId));
     }
     else
     {
         return(null);
     }
 }