public bool Add(BankCard bankCard) { db.BankCards.Add(bankCard); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(Buy buy) { db.Buys.Add(buy); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(CategoriesEntity categoriesEntity) { db.CategoriesEntities.Add(categoriesEntity); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(Product product) { db.Products.Add(product); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(CompanyCategory companyCategory) { db.CompanyCategories.Add(companyCategory); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(CategoriesFeature categoriesFeature) { db.CategoriesFeatures.Add(categoriesFeature); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(Person person) { db.People.Add(person); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(ProductCategory productCategory) { db.ProductCategories.Add(productCategory); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }
public bool Add(PhoneSupport phoneSupport) { db.PhoneSupports.Add(phoneSupport); if (Convert.ToBoolean(db.SaveChanges())) { return(true); } return(false); }