public bool DeleteSize(Size size) { Sizes sizes = new Sizes(); sizes.SelectAll(); sizes.Delete(size); return(sizes.Save()); }
public bool ModifySize(Size oldSize, Size newSize) { Sizes sizes = new Sizes(); sizes.SelectAll(); if (sizes.Modify(oldSize, newSize)) { return(sizes.Save()); } else { return(false); } }
public bool AddSize(Size size) { Sizes sizes = new Sizes(); sizes.SelectAll(); if (sizes.Add(size)) { return(sizes.Save()); } else { return(false); } }