public bool Put(int id, Narudzba narudzba)
 {
     if (narudzba == null)
     {
         return(false);
     }
     return(DostavaProcessor.Process(id, narudzba));
 }
 public bool Post(Narudzba narudzba)
 {
     if (narudzba == null)
     {
         return(false);
     }
     return(DostavaProcessor.Process(narudzba));
 }
        public bool Delete(int id)
        {
            if (id == 0)
            {
                return(false);
            }

            DostavaProcessor.Process(id);
            return(true);
        }