public CartorioBaseController(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     //string x = System.Web.HttpContext.Current.User.Identity.GetUserId();
     //Cartorio11RI.Settings.Company
     //this._usuarioAtual = System.Web.HttpContext.Current.GetOwinContext().GetUserManager<ApplicationUserManager>().FindById(System.Web.HttpContext.Current.User.Identity.GetUserId());
     //WindowsIdentity a = WindowsIdentity.GetCurrent();
 }
Exemple #2
0
        public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IUnitOfWorkDataBaseCartNew UfwCartNew = null)
        {
            _userManager          = userManager;
            _signInManager        = signInManager;
            _ufwCartNew           = UfwCartNew;
            this._idCtaAcessoSist = MvcApplication.IdCtaAcessoSist;

            var a = _userManager.Users.ToList();
        }
Exemple #3
0
        public CartoonSoftBaseController(IUnitOfWorkDataBaseCartNew UfwCartNew)
        {
            //
            if (UfwCartNew == null)
            {
                throw new NullReferenceException("Classe UnitOfWorkDataBaseCartNew não for instanciada! verifique!");
            }

            this._idCtaAcessoSist = MvcApplication.IdCtaAcessoSist;
            this._UfwCartNew      = UfwCartNew;
        }
        /// <summary>
        /// Método construtor
        /// </summary>
        /// <param name="unitOfWork"></param>
        public AppServiceCartorio(IUnitOfWorkDataBaseCartNew UfwCartNew, long IdCtaAcessoSist, IDomainServicesFactoryCartNew dsFactoryCartNew = null) : base(UfwCartNew, dsFactoryCartNew)
        {
            this._ufwCartNew       = UfwCartNew;
            this._idCtaAcessoSist  = IdCtaAcessoSist;
            this._dsFactoryCartNew = dsFactoryCartNew;

            if (_dsFactoryCartNew == null)
            {
                _dsFactoryCartNew  = new DomainServicesFactoryCartNew(_ufwCartNew);
                base.DsFactoryBase = _dsFactoryCartNew;
            }
        }
Exemple #5
0
 public PaisDs(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     _repositoryPais = this.UfwCartNew.Repositories.RepositoryPais;
 }
 public ModelosController(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     //
 }
Exemple #7
0
 public DomainServiceCartNew(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     _ufwCartNew = UfwCartNew;
 }
Exemple #8
0
        //private IEnumerable<CamposArquivoModeloDocx> listaCamposArquivoModeloDocx = null;

        public PessoaCartNewDs(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
        {
            //
        }
        //private List<DtoPessoaPesxPre> listaDtoPessoaPesxPre = null;

        public AppServicePessoaNew(IUnitOfWorkDataBaseCartNew UfwCartNew, long IdCtaAcessoSist) : base(UfwCartNew, IdCtaAcessoSist)
        {
            //
        }
Exemple #10
0
        //private readonly IRepositoryTipoAto _repositoryTipoAto;

        public TipoAtoDs(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
        {
            //_repositoryTipoAto = UfwCartNew.Repositories.RepositoryTipoAto;
        }
 public AtosController(IUnitOfWorkDataBaseCartNew UfwCartNew = null) : base(UfwCartNew)
 {
     //
     ComponentInfo.SetLicense("FREE-LIMITED-KEY");
 }
Exemple #12
0
 public ModeloDocxDs(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     _repositoryModeloDocx    = this.UfwCartNew.Repositories.RepositoryModeloDocx;
     _repositoryLogModeloDocx = this.UfwCartNew.Repositories.RepositoryLogModeloDocx;
 }
 /// <summary>
 /// Método construtor
 /// </summary>
 /// <param name="context"></param>
 public DomainServicesFactoryCartNew(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     this._ufwCartNew = UfwCartNew;
     _domainServices  = new Dictionary <Type, object>();
 }
        //private List<CamposArquivoModeloDocx> listaCamposArquivoModeloDocx = null;

        public AppServiceModelosDoc(IUnitOfWorkDataBaseCartNew UfwCartNew, long IdCtaAcessoSist) : base(UfwCartNew, IdCtaAcessoSist)
        {
        }
Exemple #15
0
 public AppServiceAcoesUsuarios(IUnitOfWorkDataBaseCartNew UfwCartNew, long IdCtaAcessoSist) : base(UfwCartNew, IdCtaAcessoSist)
 {
     //
 }
 public AcoesUsuariosDs(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     //
 }
Exemple #17
0
 public AtoDs(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     //
 }
Exemple #18
0
 public UfDs(IUnitOfWorkDataBaseCartNew UfwCartNew) : base(UfwCartNew)
 {
     _repositoryUf = this.UfwCartNew.Repositories.RepositoryUf;
 }
        private long[] acoesAdmin = { 83, 84 };  //ids de açoes que so pode ser concedidas à usuários admin

        public AcoesController(IUnitOfWorkDataBaseCartNew UfwCartNew = null) : base(UfwCartNew)
        {
            //
        }
 public AppServiceCartorio11RI(IUnitOfWorkDataBaseCartNew UfwCartNew, long IdCtaAcessoSist) : base(UfwCartNew, IdCtaAcessoSist)
 {
 }