/// <summary>
 /// Initializes a new instance of the <see cref="AccountController" /> class.
 /// </summary>
 /// <param name="catalogClient">The catalog client.</param>
 /// <param name="userClient">The user client.</param>
 /// <param name="countryClient">The country client.</param>
 /// <param name="orderClient">The order client.</param>
 /// <param name="settingsClient">The settings client.</param>
 /// <param name="identitySecurity">The web security.</param>
 /// <param name="orderService">The order service.</param>
 public AccountController(CatalogClient catalogClient,
                          UserClient userClient,
                          CountryClient countryClient,
                          OrderClient orderClient,
                          SettingsClient settingsClient,
                          IdentityUserSecurity identitySecurity,
                          IOrderService orderService)
 {
     _catalogClient = catalogClient;
     _userClient = userClient;
     _countryClient = countryClient;
     _orderClient = orderClient;
     _settingsClient = settingsClient;
     _identitySecurity = identitySecurity;
     _orderService = orderService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="membershipProvider">The membership provider.</param>
 public AuthenticationService(ISecurityRepository repository, IdentityUserSecurity membershipProvider)
 {
     MembershipProvider = membershipProvider;
     SecurityRepository = repository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="membershipProvider">The membership provider.</param>
 public AuthenticationService(ISecurityRepository repository, IdentityUserSecurity membershipProvider)
 {
     MembershipProvider = membershipProvider;
     SecurityRepository = repository;
 }