Пример #1
0
 public RatingService(IInternRatingRepository internRatingRepository, IRatingMasterRepository ratingMasterRepository, IProjectInternRepository projectInternRepository, IInternRepository internRepository)
 {
     this.internRatingRepository  = internRatingRepository;
     this.ratingMasterRepository  = ratingMasterRepository;
     this.projectInternRepository = projectInternRepository;
     this.internRepository        = internRepository;
 }
 public ListInternsResponsiblePageViewModel(INavigationService navigationService, IInternRepository internRepository) :
     base(navigationService)
 {
     this.navigationService = navigationService;
     this.internRepository  = internRepository;
     BuscarInternCollectionAsync(Settings.UserId);
 }
 public ListInternsAdminPageViewModel(INavigationService navigationService, IInternRepository internRepository) :
     base(navigationService)
 {
     this.navigationService = navigationService;
     this.internRepository  = internRepository;
     Title = "My View A";
 }
 public EditListInternsPageViewModel(INavigationService navigationService, IActionRepository actionRepository, IInternRepository internRepository) :
     base(navigationService)
 {
     this.navigationService = navigationService;
     this.actionRepository  = actionRepository;
     this.internRepository  = internRepository;
     Title = "Editar Estagiários";
 }
Пример #5
0
 public LoginPageViewModel(INavigationService navigationService, IUserRepository userRepository, IResponsibleRepository responsibleRepository, IInternRepository internRepository) :
     base(navigationService)
 {
     Patient = new User();
     this.navigationService     = navigationService;
     this.userRepository        = userRepository;
     this.responsibleRepository = responsibleRepository;
     this.internRepository      = internRepository;
 }
Пример #6
0
 public ScheduleResponsiblePageViewModel(INavigationService navigationService, IResponsibleRepository responsibleRepository, IAppointmentRepository appointmentRepository, IInternRepository internRepository) :
     base(navigationService)
 {
     this.navigationService     = navigationService;
     this.responsibleRepository = responsibleRepository;
     this.appointmentRepository = appointmentRepository;
     this.internRepository      = internRepository;
     Meetings = new ObservableCollection <ScheduleAppointment>();
     BuscarAppointmentsAsync();
 }
Пример #7
0
        public RegisterResponsiblePageViewModel(INavigationService navigationService, IResponsibleRepository responsibleRepository, IInternRepository internRepository, IUserRepository userRepository)
            : base(navigationService)
        {
            this.navigationService     = navigationService;
            this.responsibleRepository = responsibleRepository;
            this.internRepository      = internRepository;
            this.userRepository        = userRepository;

            Responsible = new Responsible();
        }
Пример #8
0
 public ScheduleAppointmentPageViewModel(INavigationService navigationService, IInternRepository internRepository, IAppointmentRepository appointmentRepository, IScheduleActionRepository scheduleActionRepository, IResponsibleRepository responsibleRepository, IPageDialogService dialogService) :
     base(navigationService)
 {
     this.navigationService        = navigationService;
     this.dialogService            = dialogService;
     this.internRepository         = internRepository;
     this.appointmentRepository    = appointmentRepository;
     this.scheduleActionRepository = scheduleActionRepository;
     this.responsibleRepository    = responsibleRepository;
     InternCollection = new ObservableCollection <ListEntity>();
 }
Пример #9
0
 public RepositoryFactory(
     DataContext repositoryContext,
     IUserRepository userRepository,
     IInternRepository internRepository,
     IPointRepository pointRepository,
     IDepartmentRepository departmentRepository,
     ITrainingRepository trainingRepository,
     IEventTypeRepository eventTypeRepository,
     IQuestionRepository questionRepository,
     IEventRepository eventRepository,
     IOrganizationRepository organizationRepository
     )
 {
     _repositoryContext      = repositoryContext;
     _userRepository         = userRepository;
     _internRepository       = internRepository;
     _pointRepository        = pointRepository;
     _departmentRepository   = departmentRepository;
     _organizationRepository = organizationRepository;
     _trainingRepository     = trainingRepository;
     _eventRepository        = eventRepository;
     _eventTypeRepository    = eventTypeRepository;
     _questionRepository     = questionRepository;
 }
Пример #10
0
 public InternService(IInternRepository internRepository)
 {
     this.internRepository = internRepository;
 }
Пример #11
0
 public InternService(IInternRepository internRepo) : base(internRepo)
 {
     _internRepo = internRepo;
 }
Пример #12
0
 public SelectionInternsAppointmentPageViewModel(INavigationService navigationService, IInternRepository internRepository) :
     base(navigationService)
 {
     this.navigationService = navigationService;
     this.internRepository  = internRepository;
 }