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(); }
public JobsFragmentViewModel(IJobsApiService jobsAPiService) { _jobsAPiService = jobsAPiService; Jobs = new ObservableCollection <JobCardDTO>(); OnJobSelectedCommand = new RelayCommand <int>(OnJobSelected); IsLoading = false; SubscribeToMessages(); }
public JobsApiService() { _jobsAPi = RestService.For <IJobsApiService> (Constants.Endpoint); }