// DELETE: api/Garbage/5
 public void Delete(int id)
 {
     GarbageBL.Delete(id);
 }
 public void PutLengthOfGarbage(int lengthOfGarbage)
 {
     GarbageBL.SetLengthOfGarbage(lengthOfGarbage);
 }
 public void PutWidthOfGarbage(int widthOfGarbage)
 {
     GarbageBL.SetWidthOfGarbage(widthOfGarbage);
 }
 public void PutMaxHeight(int maxHeight)
 {
     GarbageBL.SetMaxHeight(maxHeight);
 }
 public void PutHeightOfGarbage(int heightOfGarbage)
 {
     GarbageBL.SetHeightOfGarbage(heightOfGarbage);
 }
 // PUT: api/Garbage/5
 public void Put(Garbage garbage)
 {
     GarbageBL.Update(garbage);
 }
 //
 public void PutDefultSettings()
 {
     GarbageBL.SetDefultSettings();
 }
 public int GetWidthOfGarbage()
 {
     return(GarbageBL.GetWidthOfGarbage());
 }
 // POST: api/Garbage
 public void Post(Garbage garbage)
 {
     GarbageBL.Add(garbage);
 }
 public int GetLengthOfGarbage()
 {
     return(GarbageBL.GetLengthOfGarbage());
 }
 public int GetHeightOfGarbage()
 {
     return(GarbageBL.GetHeightOfGarbage());
 }
 public int GetMaxHeight()
 {
     return(GarbageBL.GetMaxHeight());
 }
 // GET: api/Garbage/5
 public IEnumerable <Garbage> GetByArea(string area)
 {
     return(GarbageBL.GetByArea(area));
 }
 // GET: api/Garbage
 public IEnumerable <Garbage> GetAll()
 {
     return(GarbageBL.GetAll());
 }