Beispiel #1
0
        private async void SaveData()
        {
            Job job = new Job();

            job = JsonConvert.DeserializeObject <Job>(ReadFromFile("Job")); //get Job from textfile

            job.Location    = Location;
            job.ContactInfo = ContactInfo;

            Job result = await _workService.AddJob(job); //post data

            //succesboodschap
            ShowViewModel <JobTabViewModel>(); //doorsturen naar MyJobTabViewModel
        }