Пример #1
0
 public bool UpdateOption(Guid productId, Guid id, ProductOption option)
 {
     return(ProductsDAL.UpdateOption(connectionString, productId, id, option));
 }
Пример #2
0
 protected bool Equals(ProductOption other)
 {
     return(Id.Equals(other.Id) && ProductId.Equals(other.ProductId) && string.Equals(Name, other.Name) &&
            string.Equals(Description, other.Description));
 }
Пример #3
0
 public bool CreateOption(Guid productId, ProductOption option)
 {
     return(ProductsDAL.CreateOption(connectionString, productId, option));
 }