/// <summary> /// CTOR /// </summary> /// <param name="config">Common service configuration.</param> /// <param name="core">Service core.</param> /// <param name="logMessagesManager">Log messages manager.</param> public TournamentsApi(IConfigurationRoot config, TournamentsManagementCore core, LogMessagesManager logMessagesManager) { mCore = core; mConfig = config; mLogger = new SystemLogger(ClassLogger, logMessagesManager); mReferenceId = Guid.NewGuid().ToString(); }
/// <summary> /// CTOR /// </summary> /// <param name="core"></param> /// <param name="logMessManager"></param> /// <param name="signupDataProvider"></param> /// <param name="config"></param> public AuthenticationApi(AccountsManagementCore core, LogMessagesManager logMessManager, SignUpActivationProviderContract signupDataProvider, IConfigurationRoot config) { mSignupDataProvider = signupDataProvider; mConfig = config; mLogger = new SystemLogger(ClassLogger, logMessManager); mCore = core; mReferenceId = Guid.NewGuid().ToString(); }
/// <summary> /// CTOR /// </summary> /// <param name="core">Initialized service core.</param> /// <param name="logMessManager">Log messages manager.</param> public UsersApiController(AccountsManagementCore core, LogMessagesManager logMessManager) { mLogMessManager = logMessManager; mCore = core; mReferenceId = Guid.NewGuid().ToString(); }