Exemplo n.º 1
0
        public void SetUp()
        {
            notificationPreferencesService = A.Fake <INotificationPreferencesService>();

            controller = new NotificationPreferencesController(notificationPreferencesService).WithDefaultContext()
                         .WithMockUser(true);
        }
 public CustomerDataController(
     IClientService clientService,
     IMarketingPreferencesService marketingService,
     INotificationPreferencesService notificationPreferences,
     ICustomerService customerService
     )
 {
     _clientService           = clientService;
     _notificationPreferences = notificationPreferences;
     _marketingService        = marketingService;
     _customerService         = customerService;
 }
 public NotificationPreferencesController(
     INotificationPreferencesService notificationPreferencesService
     )
 {
     this.notificationPreferencesService = notificationPreferencesService;
 }