public ProjectsRepository(IAuthenticatedHttpClient client,
                           IOdataUrlBuilder <GetProjectsD365Model> urlBuilder,
                           IOdataUrlBuilder <AcademyTransfersProjectAcademy> projectAcademyUrlBuilder,
                           IFetchXmlSanitizer fetchXmlSanitizer,
                           ILogger <ProjectsRepository> logger)
 {
     _client     = client;
     _urlBuilder = urlBuilder;
     _projectAcademyUrlBuilder = projectAcademyUrlBuilder;
     _fetchXmlSanitizer        = fetchXmlSanitizer;
     _logger = logger;
 }
Ejemplo n.º 2
0
 public ProjectsDynamicsRepository(IAuthenticatedHttpClient client,
                                   IOdataUrlBuilder <GetProjectsD365Model> urlBuilder,
                                   IOdataUrlBuilder <AcademyTransfersProjectAcademy> projectAcademyUrlBuilder,
                                   IFetchXmlSanitizer fetchXmlSanitizer,
                                   ILogger <ProjectsDynamicsRepository> logger,
                                   IMapper <PostProjectsRequestModel, PostAcademyTransfersProjectsD365Model> postProjectsMapper,
                                   IMapper <AcademyTransfersProjectAcademy, GetProjectsAcademyResponseModel> getProjectAcademyMapper,
                                   IMapper <PutProjectAcademiesRequestModel, PatchProjectAcademiesD365Model> putProjectAcademiesMapper,
                                   IMapper <GetProjectsD365Model, GetProjectsResponseModel> getProjectsMapper,
                                   IMapper <SearchProjectsD365PageModel, SearchProjectsPageModel> searchProjectsMapper)
 {
     _client     = client;
     _urlBuilder = urlBuilder;
     _projectAcademyUrlBuilder = projectAcademyUrlBuilder;
     _fetchXmlSanitizer        = fetchXmlSanitizer;
     _logger                    = logger;
     _postProjectsMapper        = postProjectsMapper;
     _getProjectAcademyMapper   = getProjectAcademyMapper;
     _putProjectAcademiesMapper = putProjectAcademiesMapper;
     _getProjectsMapper         = getProjectsMapper;
     _searchProjectsMapper      = searchProjectsMapper;
 }