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