public bool Update(PurchasedMasks entity) { _db.PurchasedMasks.Update(entity); return(Save()); }
public bool Delete(PurchasedMasks entity) { _db.PurchasedMasks.Remove(entity); return(Save()); }
public PurchasedMasks FindById(int id) { PurchasedMasks purchasedMasks = _db.PurchasedMasks.Find(id); return(purchasedMasks); }
public bool Create(PurchasedMasks entity) { _db.PurchasedMasks.Add(entity); return(Save()); }