Example #1
0
 public ApiAuthorizationAttribute(ICompanyClientsService companyClientsService)
 {
     _companyClientsService = companyClientsService;
 }
Example #2
0
 public CompanyPoliciesService(ICompanyClientsService companyClientsService, IPoliciesRepository policiesRepository)
 {
     _companyClientsService = companyClientsService;
     _policiesRepository    = policiesRepository;
 }
Example #3
0
 public ClientsController(ICompanyClientsService companyClientsService, ICompanyClientPolicyFacadeService companyClientPolicyFacadeService)
 {
     _companyClientsService            = companyClientsService;
     _companyClientPolicyFacadeService = companyClientPolicyFacadeService;
 }
Example #4
0
 public static void ClassInitialize(TestContext testContext)
 {
     _mockFactory             = new MockFactory();
     _clientsRepositoryMocked = _mockFactory.CreateMock <IClientsRepository>();
     _sut = new CompanyClientsService(_clientsRepositoryMocked.MockObject);
 }
 public CompanyClientPolicyFacadeService(ICompanyPoliciesService companyPoliciesService, ICompanyClientsService companyClientsService)
 {
     _companyClientsService  = companyClientsService;
     _companyPoliciesService = companyPoliciesService;
 }