/// <summary>
 /// Initializes a new instance of the <see cref="VisaController" /> class.
 /// </summary>
 /// <param name="dealsServices">Deal Service</param>
 /// <param name="configuration">Config</param>
 /// <param name="visaServices">visa Service</param>
 /// <param name="mapper">mapper</param>
 /// <param name="masterService">master service</param>
 public VisaController(IDealService dealsServices, IConfiguration configuration, IMasterService masterService, IVisaService visaServices, IMapper mapper)
     : base(mapper, configuration)
 {
     this.dealsServices = dealsServices;
     this.masterService = masterService;
     this.visaServices  = visaServices;
 }
Exemplo n.º 2
0
        private void Load()
        {
            CleanUp();
            _visaService = new VisaService(false, true);

            EditCommandVisibility  = false;
            EmptyControlVisibility = true;

            CheckRoles();
            GetLiveAgents();

            Messenger.Default.Register <VisaModel>(this, message =>
            {
                ParameterizedVisa = message;
            });
        }
Exemplo n.º 3
0
        private void Load()
        {
            CleanUp();
            _visaService = new VisaService();

            EditCommandVisibility  = false;
            EmptyControlVisibility = true;

            CheckRoles();
            GetLiveAgents();
            GetLiveVisas();

            Messenger.Default.Register <VisaModel>(this, message =>
            {
                //ParamVisa=new VisaDTO
                //{
                //    Id = message.VisaId??0
                //};
                SelectedEmployee = SelectedEmployee ?? message.Employee;
            });
        }
Exemplo n.º 4
0
 public VisaHolderHandler(IVisaService visas)
 {
     _visas = visas;
 }
Exemplo n.º 5
0
 public VisaController(IVisaService visaService)
 {
     _visaService = visaService;
 }
Exemplo n.º 6
0
 public VisaController()
 {
     LoadEnums();
     _visaService = new VisaService(false, true);
 }
Exemplo n.º 7
0
 public VisaController(IErrorService errorService
                       , IVisaService visaService) : base(errorService)
 {
     _visaService = visaService;
 }