Exemple #1
0
        public AuditService(EasyAdminContext context, IMailerService mailer, IAuthenticationService authService)
        {
            _context     = context;
            _mailer      = mailer;
            _authService = authService;
            _date        = DateTime.Today;
            TimeSpan ts = new TimeSpan(13, 0, 0);

            _date = _date.Date + ts;
        }
Exemple #2
0
 public VmController(EasyAdminContext context, IMailerService mailer, IAuthenticationService authService, IServiceScopeFactory serviceScopeFactory,
                     IBackgroundTaskQueue taskQueue, ILogger <VmController> logger, IMemoryCache cache)
 {
     Thread.CurrentThread.CurrentCulture = new CultureInfo("ru-RU");
     _context             = context;
     _mailer              = mailer;
     _authService         = authService;
     _taskQueue           = taskQueue;
     _serviceScopeFactory = serviceScopeFactory;
     _logger              = logger;
     _cache = cache;
 }
 public BackupController(EasyAdminContext context, IAuthenticationService authService)
 {
     _context     = context;
     _authService = authService;
 }
 public AdaptersController(EasyAdminContext context)
 {
     _context = context;
 }
 public ClusterController(EasyAdminContext context)
 {
     _context = context;
 }
Exemple #6
0
 public BackendTasksController(EasyAdminContext context)
 {
     _context = context;
 }
 public NetworkController(EasyAdminContext context)
 {
     _context = context;
 }
 public OrganizationUnitsController(EasyAdminContext context)
 {
     _context = context;
 }
Exemple #9
0
 public CostsController(EasyAdminContext context, ILogger <CostsController> logger)
 {
     _context    = context;
     this.logger = logger;
 }
 public TemplateController(EasyAdminContext context)
 {
     _context = context;
 }
Exemple #11
0
 public DatacenterController(EasyAdminContext context)
 {
     _context = context;
 }
Exemple #12
0
 public AuditsController(EasyAdminContext context, IAuditService auditService)
 {
     _context = context;
     _auditService = auditService;
 }
Exemple #13
0
 public ProvidersController(EasyAdminContext context)
 {
     _context = context;
 }