示例#1
0
        public HomeController(ILogger <HomeController> logger, Helper helper, UserTable ut, TenantTable tt,
                              UserManager <User> userManager, SignInManager <User> signInManager,
                              UserManager <GlobalUser> sharedUserManager, SignInManager <GlobalUser> sharedSignInManager,
                              NewTenantProcedure newTenant, IAuthorizationService auth, ServiceOrderTable serviceOrderTable, NotificationTable notificationTable, TaskTable taskTable)
        {
            _logger = logger;
            _helper = helper;

            _ut = ut;
            _tt = tt;
            _serviceOrderTable = serviceOrderTable;

            _newTenant = newTenant;

            UserMgr   = userManager;
            SignInMgr = signInManager;

            SharedUserMgr   = sharedUserManager;
            SharedSignInMgr = sharedSignInManager;

            _authorization = auth;

            _notificationTable = notificationTable;
            _taskTable         = taskTable;
        }
示例#2
0
 public TenantPolicyHandler(ServiceOrderTable so, TenantTable tt, IHttpContextAccessor httpContextAccessor, UserManager <ORM.DTO.User> userManager)
 {
     _serviceOrderTable = so;
     _tenantTable       = tt;
     _httpContext       = httpContextAccessor.HttpContext;
     _userMgr           = userManager;
 }
示例#3
0
 public HomePageController(UserTable userTable, ProjectTable projectTable, TenantTable tenantTable, ServiceOrderTable serviceOrderTable)
 {
     _userTable         = userTable;
     _projectTable      = projectTable;
     _tenantTable       = tenantTable;
     _serviceOrderTable = serviceOrderTable;
 }
示例#4
0
 public ProfileController(UserTable userTable, UserManager <User> userMgr, TenantTable tenantTable, ServiceOrderTable serviceOrderTable)
 {
     _userTable         = userTable;
     _userMgr           = userMgr;
     _tenantTable       = tenantTable;
     _serviceOrderTable = serviceOrderTable;
 }
示例#5
0
 public ServiceController(ServiceOrderTable serviceOrderTable, TenantTable tenantTable, ProjectTable projectTable, UserTable userTable, PaymentTable paymentTable)
 {
     _serviceOrderTable = serviceOrderTable;
     _tenantTable       = tenantTable;
     _projectTable      = projectTable;
     _userTable         = userTable;
     _paymentTable      = paymentTable;
 }
示例#6
0
 public NotificationController(ServiceOrderTable serviceOrderTable, TenantTable tenantTable, UserTable userTable, NotificationTable notificationTable, ProjectTable projectTable)
 {
     _serviceOrderTable = serviceOrderTable;
     _tenantTable       = tenantTable;
     _userTable         = userTable;
     _notificationTable = notificationTable;
     _projectTable      = projectTable;
 }
示例#7
0
 public AdminController(TenantTable tenantTable, ServiceOrderTable serviceOrderTable, PaymentTable paymentTable)
 {
     _tenantTable       = tenantTable;
     _serviceOrderTable = serviceOrderTable;
     _paymentTable      = paymentTable;
 }