Exemple #1
0
 public UsuarioController(IUsuarioAppService usuarioAppService, IPerfilAppService perfilAppService,
                          IEmpleadoAppService empleadoAppService, IEmpresaAppService empresaAppService)
 {
     _usuarioAppService  = usuarioAppService;
     _perfilAppService   = perfilAppService;
     _empleadoAppService = empleadoAppService;
     _empresaAppService  = empresaAppService;
 }
 public UsuarioController(IUsuarioAppService usuarioAppService, IPerfilAppService perfilAppService, 
     IEmpleadoAppService empleadoAppService, IEmpresaAppService empresaAppService)
 {
     _usuarioAppService = usuarioAppService;
     _perfilAppService = perfilAppService;
     _empleadoAppService = empleadoAppService;
     _empresaAppService = empresaAppService;
 }
 public PerfilController(IDomainNotificationHandler <DomainNotification> notifications,
                         IUser user,
                         IBus bus,
                         IPerfilAppService perfilAppService)
     : base(notifications, user, bus)
 {
     _perfilAppService = perfilAppService;
 }
 public UsuariosController(IUsuarioAppService usuarioAppService, ISistemaHub sistemaHub, ISetorAppService setorAppService, 
     IPerfilAppService perfilAppService)
 {
     this.usuarioAppService = usuarioAppService;
     this.sistemaHub = sistemaHub;
     this.setorAppService = setorAppService;
     this.perfilAppService = perfilAppService;
 }
Exemple #5
0
 public PerfilController(
     IPerfilAppService perfilAppService,
     IModuloAppService moduloAppService,
     IFuncionalidadeAppService funcionalidadeAppService,
     MessageQueue messageQueue)
     : base(messageQueue)
 {
     this.perfilAppService         = perfilAppService;
     this.moduloAppService         = moduloAppService;
     this.funcionalidadeAppService = funcionalidadeAppService;
 }
        public void Setup()
        {
            perfilService = Substitute.For<IPerfilService>();
            perfilAppService = new PerfilAppService(perfilService);
            perfilVM = new PerfilVM
            {
                Nome = "Novo Perfil"
            };

            Mapper.CreateMap<PerfilVM, Perfil>();
            Mapper.CreateMap<Perfil, PerfilVM>();
        }
 public PerfilController(IPerfilAppService perfilAppService)
 {
     _perfilAppService = perfilAppService;
 }
 public UsuarioController(IUsuarioAppService usuarioAppService, 
                          IPerfilAppService perfilAppService)
 {
     this.usuarioAppService = usuarioAppService;
     this.perfilAppService = perfilAppService;
 }
        public void Setup()
        {
            sistemaHub = Substitute.For<ISistemaHub>();
            setorAppService = Substitute.For<ISetorAppService>();
            perfilAppService = Substitute.For<IPerfilAppService>();
            usuarioAppService = Substitute.For<IUsuarioAppService>();

            usuariosController = new UsuariosController(usuarioAppService, sistemaHub, setorAppService, perfilAppService);
        }
 public UsuarioController(IUsuarioAppService usuarioApp, IPerfilAppService perfilApp)
 {
     UsuarioApp    = usuarioApp;
     PerfilApp     = perfilApp;
     NomePermissao = "Usuário";
 }
 public PerfilController(IPerfilAppService perfilApp, IFuncionalidadeAppService funcionalidadeApp) : base()
 {
     PerfilApp         = perfilApp;
     FuncionalidadeApp = funcionalidadeApp;
 }
 public PerfilController(IPerfilAppService perfilAppService)
 {
     _perfilAppService = perfilAppService;
 }
Exemple #13
0
 public PerfilController(IPerfilAppService appService) : base(appService)
 {
 }
Exemple #14
0
 public PerfilController(IPerfilAppService perfilApp, IFuncionalidadeAppService funcionalidadeApp) : base()
 {
     NomePermissao     = "Perfil";
     PerfilApp         = perfilApp;
     FuncionalidadeApp = funcionalidadeApp;
 }
Exemple #15
0
 public PerfilController(IPerfilAppService perfilAppService,
                         INotificationHandler <DomainNotification> notifications,
                         IMediatorHandler mediator) : base(notifications, mediator)
 {
     _perfilAppService = perfilAppService;
 }
 public PerfilController(IPerfilAppService appService)
 {
     this.appService = appService;
 }
 public UsuarioController(IUsuarioAppService appService,
                          IPerfilAppService perfilAppService)
 {
     this.appService       = appService;
     this.perfilAppService = perfilAppService;
 }
Exemple #18
0
 public UsuarioController(IUsuarioAppService usuarioApp,
                          IPerfilAppService perfilApp)
 {
     UsuarioApp = usuarioApp;
     PerfilApp  = perfilApp;
 }