Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="exportDefaultTemplateProvider">Export default template provider</param>
 /// <param name="userPreferencesDbAccess">User PReferences Database access</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="exportSettings">Export settings</param>
 /// <param name="projectDbAccess">Project Db Access</param>
 public ExportController(IExportDefaultTemplateProvider exportDefaultTemplateProvider, IUserPreferencesDbAccess userPreferencesDbAccess, UserManager <GoNorthUser> userManager, IExportSettingsDbAccess exportSettings, IProjectDbAccess projectDbAccess)
 {
     _exportDefaultTemplateProvider = exportDefaultTemplateProvider;
     _userPreferencesDbAccess       = userPreferencesDbAccess;
     _userManager     = userManager;
     _exportSettings  = exportSettings;
     _projectDbAccess = projectDbAccess;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="userPreferencesDbAccess">User Preferences Db Access</param>
 /// <param name="exportSettingsDbAccess">Export settings Db Access</param>
 /// <param name="projectDbAccess">Project Db Access</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="logger">Logger</param>
 public UserPreferencesApiController(IUserPreferencesDbAccess userPreferencesDbAccess, IExportSettingsDbAccess exportSettingsDbAccess, IProjectDbAccess projectDbAccess, UserManager <GoNorthUser> userManager,
                                     ILogger <UtilApiController> logger)
 {
     _userPreferencesDbAccess = userPreferencesDbAccess;
     _exportSettingsDbAccess  = exportSettingsDbAccess;
     _projectDbAccess         = projectDbAccess;
     _userManager             = userManager;
     _logger = logger;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="exportDefaultTemplateProvider">Export default template provider</param>
 /// <param name="userPreferencesDbAccess">User PReferences Database access</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="exportSettings">Export settings</param>
 /// <param name="userProjectAccess">User project Access</param>
 /// <param name="actionTranslator">Action translator</param>
 public ExportController(IExportDefaultTemplateProvider exportDefaultTemplateProvider, IUserPreferencesDbAccess userPreferencesDbAccess, UserManager <GoNorthUser> userManager, IExportSettingsDbAccess exportSettings, IUserProjectAccess userProjectAccess,
                         IActionTranslator actionTranslator)
 {
     _exportDefaultTemplateProvider = exportDefaultTemplateProvider;
     _userPreferencesDbAccess       = userPreferencesDbAccess;
     _userManager       = userManager;
     _exportSettings    = exportSettings;
     _userProjectAccess = userProjectAccess;
     _actionTranslator  = actionTranslator;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="exportDefaultTemplateProvider">Export default template provider</param>
 /// <param name="userPreferencesDbAccess">User PReferences Database access</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="exportSettings">Export settings</param>
 /// <param name="userProjectAccess">User project Access</param>
 /// <param name="actionTranslator">Action translator</param>
 /// <param name="configuration">Configuration</param>
 public ExportController(IExportDefaultTemplateProvider exportDefaultTemplateProvider, IUserPreferencesDbAccess userPreferencesDbAccess, UserManager <GoNorthUser> userManager, IExportSettingsDbAccess exportSettings, IUserProjectAccess userProjectAccess,
                         IActionTranslator actionTranslator, IOptions <ConfigurationData> configuration)
 {
     _exportDefaultTemplateProvider = exportDefaultTemplateProvider;
     _userPreferencesDbAccess       = userPreferencesDbAccess;
     _userManager       = userManager;
     _exportSettings    = exportSettings;
     _userProjectAccess = userProjectAccess;
     _actionTranslator  = actionTranslator;
     _config            = configuration.Value.Misc;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="userPreferencesDbAccess">User Preferences Db Access</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="logger">Logger</param>
 public UserPreferencesApiController(IUserPreferencesDbAccess userPreferencesDbAccess, UserManager <GoNorthUser> userManager, ILogger <UtilApiController> logger)
 {
     _userPreferencesDbAccess = userPreferencesDbAccess;
     _userManager             = userManager;
     _logger = logger;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="userDbAccess">User Database Access</param>
 /// <param name="userPreferencesDbAccess">User Preferences Database Access</param>
 public GoNorthUserStore(IUserDbAccess userDbAccess, IUserPreferencesDbAccess userPreferencesDbAccess)
 {
     _UserDbAccess            = userDbAccess;
     _UserPreferencesDbAccess = userPreferencesDbAccess;
 }