예제 #1
0
 public Odemeler OdemelerIdSec(int id)
 {
     try
     {
         using (var business = new OdemelerBusiness())
         {
             return(business.OdemeIdSec(id));
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
 public List <Odemeler> OdemelerHepsiniSec()
 {
     try
     {
         using (var business = new OdemelerBusiness())
         {
             return(business.OdemeHepsiniSec());
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #3
0
 public bool OdemelerIdSil(int id)
 {
     try
     {
         using (var business = new OdemelerBusiness())
         {
             business.OdemeIdSil(id);
         }
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
예제 #4
0
 public bool OdemelerGuncelle(Odemeler entity)
 {
     try
     {
         using (var business = new OdemelerBusiness())
         {
             business.OdemeGuncelle(entity);
         }
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }