public DataTable Get(int id)
 {
     return(DostavaRepository.ReturnFromDB(id));
 }
 public DataTable Get()
 {
     return(DostavaRepository.ReturnFromDB());
 }
Example #3
0
        public static bool Process(int id)
        {
            //procesiranje

            return(DostavaRepository.DeleteRecord(id));
        }
Example #4
0
 public static bool Process(int id, Narudzba narudzba)
 {
     //procesiranje
     return(DostavaRepository.UpdateRecord(id, narudzba));
 }
Example #5
0
        public static bool Process(Narudzba narudzba)
        {
            //procesiranje

            return(DostavaRepository.AddToDatabase(narudzba));
        }