public SupervisorController(ISupervisorService objSupervisorService, ISupervisorTempService objSupervisorTempService, IUsuarioEmpresaService objUsuarioAreaService, IEmpresaAreasCentroCostoService eacc, IUsuariosPorRoleService usrRol, IAspNetUserRolesService ue, IUserService userServ, IUsuarioAreaService uas)
 {
     objInj                        = ue;
     supervisorService             = objSupervisorService;
     supervisorTempService         = objSupervisorTempService;
     usuarioEmpresaService         = objUsuarioAreaService;
     empresaAreaCentroCostoService = eacc;
     usuarioRol                    = usrRol;
     userService                   = userServ;
     usuarioAreaService            = uas;
 }
        /// <summary>
        /// Este contructor se implemento, con un intento para resolver el problema del IIS
        /// en el servidor de banistmo 10.71.27.116
        /// </summary>
        public UserController()
        {
            userService            = new UserService();
            reporteSrv             = new ReporteService();
            rrmService             = new ReporteRolesMenuService();
            usuarioAreaService     = new UsuarioAreaService();
            usuarioEmpresaService  = new UsuarioEmpresaService();
            catalagoService        = new CatalogoService();
            directorioactivo       = new LDAP();
            usrRolService          = new UsuariosPorRolService();
            AspNetUserRolesService = new AspNetUserRolesService();
            rolService             = rolService ?? new RolService();

            areaOperativaService = areaOperativaService ?? new AreaOperativaService();

            RegConSrv = new RegistroControlService();
        }
 public UserController(IUserService usr, IReporteService reporte, IReporteRolesMenuService rrmSrv, IUsuarioAreaService usrAreaSrv, IUsuarioEmpresaService usrEmpSrv,
                       ICatalogoService catSrv, ILDAP dau, IUsuariosPorRoleService usrRol, IAspNetUserRolesService aspNetUserRolesServ, IAreaOperativaService area,
                       IRegistroControlService RegControlSrv)
 {
     userService            = usr;
     reporteSrv             = reporte;
     rrmService             = rrmSrv;
     usuarioAreaService     = usrAreaSrv;
     usuarioEmpresaService  = usrEmpSrv;
     catalagoService        = catSrv;
     directorioactivo       = dau;
     usrRolService          = usrRol;
     AspNetUserRolesService = aspNetUserRolesServ;
     rolService             = rolService ?? new RolService();
     areaOperativaService   = area;
     RegConSrv = RegControlSrv;
 }