Exemple #1
0
 public CompanyController(ICategoryDTOService serviceCategory, ICompanyOfferDTOService serviceCompanyOffer, ICompanyDTOService serviceCompany, IOfferDTOService serviceOffer, IUnitOfWork db)
 {
     this.serviceCategory     = serviceCategory;
     this.serviceCompanyOffer = serviceCompanyOffer;
     this.serviceCompany      = serviceCompany;
     this.serviceOffer        = serviceOffer;
     this.db = db;
 }
Exemple #2
0
 public CustomerController(ICustomerOfferDTOService serviceCustomerOffer, ICategoryDTOService serviceCategory, ICompanyDTOService serviceCompany)
 {
     this.serviceCustomerOffer = serviceCustomerOffer;
     this.serviceCategory      = serviceCategory;
     this.serviceCompany       = serviceCompany;
 }
 public AccountController(ICustomerDTOService customerService, ICompanyDTOService companyService)
 {
     this.customerService = customerService;
     this.companyService  = companyService;
 }