public void EditProductScheduleAttribute(ProductScheduleAttribute productScheduleAttributeToEdit) { productScheduleAttributeRepository.Update(productScheduleAttributeToEdit); SaveProductScheduleAttribute(); }
public IEnumerable <ValidationResult> CanAddProductScheduleAttribute(ProductScheduleAttribute productScheduleAttribute) { // yield return new ValidationResult("ProductScheduleAttribute", "ErrorString"); return(null); }
public void CreateProductScheduleAttribute(ProductScheduleAttribute productScheduleAttribute) { productScheduleAttributeRepository.Add(productScheduleAttribute); SaveProductScheduleAttribute(); }