public DataTable Get(int id) { return(DostavaRepository.ReturnFromDB(id)); }
public DataTable Get() { return(DostavaRepository.ReturnFromDB()); }
public static bool Process(int id) { //procesiranje return(DostavaRepository.DeleteRecord(id)); }
public static bool Process(int id, Narudzba narudzba) { //procesiranje return(DostavaRepository.UpdateRecord(id, narudzba)); }
public static bool Process(Narudzba narudzba) { //procesiranje return(DostavaRepository.AddToDatabase(narudzba)); }