public bool UpdateOption(Guid productId, Guid id, ProductOption option) { return(ProductsDAL.UpdateOption(connectionString, productId, id, option)); }
protected bool Equals(ProductOption other) { return(Id.Equals(other.Id) && ProductId.Equals(other.ProductId) && string.Equals(Name, other.Name) && string.Equals(Description, other.Description)); }
public bool CreateOption(Guid productId, ProductOption option) { return(ProductsDAL.CreateOption(connectionString, productId, option)); }