예제 #1
0
        public void Remove(Interfaces.IFurniture furniture)
        {
            IFurniture delete = furnitures.FirstOrDefault(x => x.Equals(furniture));

            this.furnitures.Remove(delete);
        }
예제 #2
0
 public void Remove(Interfaces.IFurniture furniture)
 {
     furnitures.Remove(furniture);
 }
예제 #3
0
 public void Add(Interfaces.IFurniture furniture)
 {
     this.furnitures.Add(furniture);
     this.furnitures = this.furnitures.OrderBy(x => x.Price).ThenBy(y => y.Model).ToList();
 }
예제 #4
0
 public void Add(Interfaces.IFurniture furniture)
 {
     this.furnitures.Add(furniture);
 }