public ReleaseController(IReleaseService releaseService, IValidateService validateService, ICompanyUpdateService companyUpdateService, ICompanyService company, ICompanyReleaseService companyReleaseService) { _releaseService = releaseService; _validateService = validateService; _companyUpdateService = companyUpdateService; _companyService = company; _companyReleaseService = companyReleaseService; _directoryPath = $"{HttpRuntime.AppDomainAppPath}Release"; if (!Directory.Exists(_directoryPath)) { Directory.CreateDirectory(_directoryPath); } }
public CompanyController(ILogger <CompanyController> logger, IMapper mapper, ICompanyCreateService companyCreateService, ICompanyGetService companyGetService, ICompanyUpdateService companyUpdateService) { this.Logger = logger; this.CompanyCreateService = companyCreateService; this.CompanyGetService = companyGetService; this.CompanyUpdateService = companyUpdateService; this.Mapper = mapper; }
public CompanyApiController(ICompanyService companyService, ICompanyUpdateService companyUpdateService) { _companyService = companyService; _companyUpdateService = companyUpdateService; }