//TODO: Declare consturctor and initialize language interface, token and credential of consumer public LanguageController(ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ILanguageApiConsumer languageoApiConsumer) { this._IAuthenticationApiConsumer = authenticationApiConsumer; this._ILanguageoApiConsumer = languageoApiConsumer; this._userCredential = SessionHelper.UserCredential; this._tokenManager = tokenManager; }
public AccountController(IAuthenticationService authenticationService, IUserService userService, ISpartane_FileApiConsumer Spartane_FileApiConsumer, IPermissionService permissionService, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ILanguageApiConsumer languageoApiConsumer, ISpartan_UserApiConsumer UseroApiConsumer, ISpartanSessionApiConsumer oSpartanSessionAPIConsumer, ISpartanSecurityApiConsumer oSpartanSecurityAPIConsumer, ISpartan_SettingsApiConsumer Spartan_SettingsApiConsumer, ISpartaneQueryApiConsumer SpartaneQueryApiConsumer) { this._ISpartane_FileApiConsumer = Spartane_FileApiConsumer; this._authenticationService = authenticationService; this._userService = userService; this._permissionService = permissionService; this._IAuthenticationApiConsumer = authenticationApiConsumer; this._userCredential = SessionHelper.UserCredential; this._tokenManager = tokenManager; this._ILanguageoApiConsumer = languageoApiConsumer; this._IUseroApiConsumer = UseroApiConsumer; this._ISpartanSecurityApiConsumer = oSpartanSecurityAPIConsumer; this._ISpartanSessionApiConsumer = oSpartanSessionAPIConsumer; this._ISpartan_SettingsApiConsumer = Spartan_SettingsApiConsumer; this._ISpartaneQueryApiConsumer = SpartaneQueryApiConsumer; }