/// <summary>
 /// Common function to get the countries of operations
 /// </summary>
 /// <returns></returns>
 internal static List<CountryOfOperationVM> GetCountriesOfOperation(IMasterDataProviderService _masterProviderService)
 {
     List<CountryOfOperationVM> countries = new List<CountryOfOperationVM>();
     if (CacheManager.CountryOfOperationList == null)
     {
         Mapper.CreateMap<CountryOfOperationVM, CountryOfOperationVM>();
         countries = Mapper.Map(_masterProviderService.GetCountryOfOperations(), countries);
         CacheManager.CountryOfOperationList = countries;
     }
     else
     {
         countries = CacheManager.CountryOfOperationList;
     }
     return countries;
 }
 public HomeController(IMasterDataProviderService masterProviderService)
 {
     this._masterProviderService = masterProviderService;
 }
 public HomeController()
 {
     this._masterProviderService = ServiceReferences.GetMasterProviderServiceClient();
 }
 public RegistrationController(IMasterDataProviderService masterProviderService,
                                         IRegistrationServices registrationProviderService)
 {
     this._masterProviderService = masterProviderService;
     this._registrationProcessService = registrationProviderService;
 }
 public RegistrationController()
 {
     this._masterProviderService = ServiceReferences.GetMasterProviderServiceClient();
     this._registrationProcessService = ServiceReferences.GetRegistrationProcessClient();
 }
 public HTMLTemplateManagerController()
 {
     this._FPConfigurationService = ServiceReferences.GetFPConfigurationServiceClient();
     this._masterDataProviderService = ServiceReferences.GetMasterProviderServiceClient();
 }
 public LocalizationSettingsController()
 {
     this._masterDataProviderService = ServiceReferences.GetMasterProviderServiceClient();
 }