Esempio n. 1
0
        public JobDetailFragmentViewModel(IJobsApiService jobsAPiService, IEmailService applicationSender)
        {
            _jobsAPiService = jobsAPiService;

            _applicationSender = applicationSender;

            SendCVCommand = new RelayCommand(SendCV);
        }
		public JobDetailFragmentViewModel (IJobsApiService jobsAPiService, IEmailService applicationSender)
		{
			_jobsAPiService = jobsAPiService;

			_applicationSender = applicationSender;

			SendCVCommand = new RelayCommand (SendCV);
		}
		public JobsFragmentViewModel(IJobsApiService jobsAPiService)
		{
			_jobsAPiService = jobsAPiService;

			Jobs = new ObservableCollection<JobCardDTO>();

			OnJobSelectedCommand = new RelayCommand<int>(OnJobSelected);

			IsLoading = false;

			SubscribeToMessages();
		}
Esempio n. 4
0
        public JobsFragmentViewModel(IJobsApiService jobsAPiService)
        {
            _jobsAPiService = jobsAPiService;

            Jobs = new ObservableCollection <JobCardDTO>();

            OnJobSelectedCommand = new RelayCommand <int>(OnJobSelected);

            IsLoading = false;

            SubscribeToMessages();
        }
Esempio n. 5
0
 public JobsApiService()
 {
     _jobsAPi = RestService.For <IJobsApiService> (Constants.Endpoint);
 }