예제 #1
0
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="perfil"></param>
 public CadastrarPerfil(OctoplusContext context, Perfil perfil, int empresaid, List <Funcionalidade> funcionalidades)
 {
     _context         = context;
     _perfil          = perfil;
     _empresaid       = empresaid;
     _funcionalidades = funcionalidades;
 }
예제 #2
0
 public ExcluirUsuario(OctoplusContext context, UserDTO?cadastroUsuarioDTO, Empresa?empresa)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     _cadastroUsuarioDTO = cadastroUsuarioDTO;
     _empresa            = empresa;
 }
예제 #3
0
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="perfil"></param>
 public AtualizarPerfil(OctoplusContext context, Perfil perfil, int empresaid)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     _perfil    = perfil;
     _empresaid = empresaid;
 }
예제 #4
0
 public AtualizaUsuario(OctoplusContext context, Usuario usuario, int perfilId, int idEmpresaSelecionada)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     _usuario              = usuario;
     _perfilId             = perfilId;
     _idEmpresaSelecionada = idEmpresaSelecionada;
 }
예제 #5
0
 public Autenticar(OctoplusContext context, UserDTO user)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     _email          = user.Email;
     _password       = user.Password;
     _usuario        = user;
     this.appAccount = new AppAccount();
 }
예제 #6
0
 public AtualizarSMTP(OctoplusContext context, SMTP smtp)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     _smtp = smtp;
 }
예제 #7
0
 public DeletarSolicitacao(OctoplusContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
예제 #8
0
 /// <summary>
 /// BuscarEmpresa
 /// </summary>
 /// <param name="context"></param>
 public BuscarEmpresa(OctoplusContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
 /// <summary></summary>
 /// <param name="context"></param>
 public EspacoAvulsoEmDiscoService(OctoplusContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
예제 #10
0
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="licenca"></param>
 public CadastrarLicenca(OctoplusContext context, Licenca licenca, List <Menu> menus)
 {
     _context = context;
     _licenca = licenca;
     _menus   = menus;
 }
예제 #11
0
 public MenuService(OctoplusContext context)
 {
     _context = context;
 }
예제 #12
0
 public FormularioService(OctoplusContext context)
 {
     _context = context;
 }
 public CadastrarSolicitacao(OctoplusContext context,
                             Solicitacao solicitacao)
 {
     _context     = context;
     _solicitacao = solicitacao;
 }
예제 #14
0
 public AtualizarVistas(OctoplusContext context, Vistas vistas)
 {
     _context = context;
     _vistas  = vistas;
 }
예제 #15
0
 public CadastrarNovaSenha(OctoplusContext context)
 {
     _context      = context;
     _emailservice = new EmailService(_context);
     _app          = new AppAccount();
 }
 public SolicitacaoService(OctoplusContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = Microsoft.EntityFrameworkCore.QueryTrackingBehavior.NoTracking;
 }
예제 #17
0
 public BuscarVistas(OctoplusContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     vistas = new List <Vistas>();
 }
예제 #18
0
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="empresa"></param>
 public CadastrarEmpresa(OctoplusContext context, Empresa empresa)
 {
     _context = context;
     _empresa = empresa;
 }
예제 #19
0
 /// <summary></summary>
 /// <param name="context"></param>
 public LicencaService(OctoplusContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
예제 #20
0
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="formulario"></param>
 public ExcluirFormulario(OctoplusContext context, Formulario formulario)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     _formulario = formulario;
 }
예제 #21
0
 public GravarArquivo(OctoplusContext context)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     this.aArquivos = new List <Arquivo>();
 }
예제 #22
0
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="usuarioAvulso"></param>
 public AtualizarUsuarioAvulso(OctoplusContext context, UsuarioAvulso usuarioAvulso)
 {
     _context       = context;
     _usuarioAvulso = usuarioAvulso;
 }
예제 #23
0
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="espacoAvulsoEmDisco"></param>
 public ExcluirEspacoAvulsoEmDisco(OctoplusContext context, EspacoAvulsoEmDisco espacoAvulsoEmDisco)
 {
     _context = context;
     _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
     _espacoAvulsoEmDisco = espacoAvulsoEmDisco;
 }
 public CadastrarAuditoria(OctoplusContext context)
 {
     _context = context;
 }
예제 #25
0
 public ValidarSenha(OctoplusContext context)
 {
 }
예제 #26
0
 public CadastrarSMTP(OctoplusContext context, SMTP smtp)
 {
     _context = context;
     _smtp    = smtp;
 }
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="usuarioAvulso"></param>
 public CadastrarUsuarioAvulso(OctoplusContext context, UsuarioAvulso usuarioAvulso)
 {
     _context       = context;
     _usuarioAvulso = usuarioAvulso;
 }
예제 #28
0
 public EmailService(OctoplusContext context)
 {
     _context = context;
 }
 /// <summary></summary>
 /// <param name="context"></param>
 /// <param name="usuarioAvulso"></param>
 public ExcluirUsuarioAvulso(OctoplusContext context, UsuarioAvulso usuarioAvulso)
 {
     _context       = context;
     _usuarioAvulso = usuarioAvulso;
 }
예제 #30
0
 /// <summary>Construtor do Repositório</summary>
 /// <param name="context"></param>
 public Repository(OctoplusContext context)
 {
     _context = context;
 }