public void UpdateVytlacok(Vytlacok vytlacok) { var service = new Team024VytlacokPortTypeClient(); service.update("024", "FYmoj1", vytlacok.id, vytlacok); service.Close(); }
public List <Vytlacoks> GetAll() { var service = new Team024VytlacokPortTypeClient(); var result = service.getAll(); service.Close(); return(result.ToList()); }
public Vytlacok GetById(int id) { var service = new Team024VytlacokPortTypeClient(); var result = service.getById(id); service.Close(); return(result); }