예제 #1
0
 public bool Update(PurchasedMasks entity)
 {
     _db.PurchasedMasks.Update(entity);
     return(Save());
 }
예제 #2
0
 public bool Delete(PurchasedMasks entity)
 {
     _db.PurchasedMasks.Remove(entity);
     return(Save());
 }
예제 #3
0
        public PurchasedMasks FindById(int id)
        {
            PurchasedMasks purchasedMasks = _db.PurchasedMasks.Find(id);

            return(purchasedMasks);
        }
예제 #4
0
 public bool Create(PurchasedMasks entity)
 {
     _db.PurchasedMasks.Add(entity);
     return(Save());
 }