/// <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; }
public ExcluirUsuario(OctoplusContext context, UserDTO?cadastroUsuarioDTO, Empresa?empresa) { _context = context; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; _cadastroUsuarioDTO = cadastroUsuarioDTO; _empresa = empresa; }
/// <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; }
public AtualizaUsuario(OctoplusContext context, Usuario usuario, int perfilId, int idEmpresaSelecionada) { _context = context; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; _usuario = usuario; _perfilId = perfilId; _idEmpresaSelecionada = idEmpresaSelecionada; }
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(); }
public AtualizarSMTP(OctoplusContext context, SMTP smtp) { _context = context; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; _smtp = smtp; }
public DeletarSolicitacao(OctoplusContext context) { _context = context; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; }
/// <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; }
/// <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; }
public MenuService(OctoplusContext context) { _context = context; }
public FormularioService(OctoplusContext context) { _context = context; }
public CadastrarSolicitacao(OctoplusContext context, Solicitacao solicitacao) { _context = context; _solicitacao = solicitacao; }
public AtualizarVistas(OctoplusContext context, Vistas vistas) { _context = context; _vistas = vistas; }
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; }
public BuscarVistas(OctoplusContext context) { _context = context; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; vistas = new List <Vistas>(); }
/// <summary></summary> /// <param name="context"></param> /// <param name="empresa"></param> public CadastrarEmpresa(OctoplusContext context, Empresa empresa) { _context = context; _empresa = empresa; }
/// <summary></summary> /// <param name="context"></param> public LicencaService(OctoplusContext context) { _context = context; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; }
/// <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; }
public GravarArquivo(OctoplusContext context) { _context = context; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; this.aArquivos = new List <Arquivo>(); }
/// <summary></summary> /// <param name="context"></param> /// <param name="usuarioAvulso"></param> public AtualizarUsuarioAvulso(OctoplusContext context, UsuarioAvulso usuarioAvulso) { _context = context; _usuarioAvulso = usuarioAvulso; }
/// <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; }
public ValidarSenha(OctoplusContext context) { }
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; }
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; }
/// <summary>Construtor do Repositório</summary> /// <param name="context"></param> public Repository(OctoplusContext context) { _context = context; }