public NotificationType GetNotificationType( string token) { var auth = new AuthenticationHelper(token, _authenticationService, _instanceRepository, _applicationSetting, _userValidationService); return(_notificationTypeRepository.GetNotificationType(auth.Instance.Username, auth.ConnectionString)); }