public DogadjajViewModel(Dogadjaj d)
        {
            _apiServices = new ApiServices();
            var model = new ZborDataStandard.ViewModels.ZborViewModels.DogadjajViewModel();

            Dogadjaj = d;
            GetVrsta();
        }
Exemple #2
0
        private async void GetData(Guid id)
        {
            IsBusy = false;
            model  = await _apiServices.DogadjajViewModelAsync(id);

            IsBusy  = true;
            this.id = id;
        }
        public DogadjajViewModel(Guid id)
        {
            _apiServices = new ApiServices();
            var model = new ZborDataStandard.ViewModels.ZborViewModels.DogadjajViewModel();

            Dogadjaj  = new Dogadjaj();
            IdProjekt = id;
            GetVrsta();
        }
Exemple #4
0
        public void Spremi(List <Guid> guids)
        {
            var mod = new ZborDataStandard.ViewModels.ZborViewModels.DogadjajViewModel
            {
                IdDogadjaj = id,
                Evidencija = guids
            };

            model.Evidencija = guids;
            _apiServices.EvidentirajAsync(mod);
        }