public Core.Attribute Delete(int id) { var attribute = GetById(id); if (attribute != null) { db.Remove(attribute); } return(attribute); }
public ProductAttributes Delete(int id) { var productattributes = GetById(id); if (productattributes != null) { db.Remove(productattributes); } return(productattributes); }