Exemple #1
0
 public bool AddDonation(Donation donation)
 {
     using (var entity = new WakeOrWasteEntities())
     {
         entity.Configuration.ProxyCreationEnabled = false;
         var rs = entity.Donations.Add(donation);
         entity.SaveChanges();
         return rs != null;
     }
 }
Exemple #2
0
 public bool UpdateDonation(Donation donation)
 {
     throw new NotImplementedException();
 }