예제 #1
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="conpanies"></param>
 /// <param name="townService"></param>
 /// <param name="useFullCategoryService"></param>
 public CompanySrvice(
     IRepository <Company> conpanies,
     ITownService townService,
     IUseFullCategoryService useFullCategoryService)
 {
     this.conpanies              = conpanies;
     this.townService            = townService;
     this.useFullCategoryService = useFullCategoryService;
 }
예제 #2
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="towns"></param>
 /// <param name="townUseFullCategories"></param>
 /// <param name="useFullCategoryService"></param>
 /// <param name="companyRepo"></param>
 public TownService(
     IRepository <Town> towns,
     IRepository <TownUseFullCategory> townUseFullCategories,
     IUseFullCategoryService useFullCategoryService,
     IRepository <Company> companyRepo)
 {
     this.towns = towns;
     this.townUseFullCategories  = townUseFullCategories;
     this.useFullCategoryService = useFullCategoryService;
     this.companyRepo            = companyRepo;
 }
예제 #3
0
 public UseFullCategoryController(IUseFullCategoryService useFullCategoryService)
 {
     this.useFullCategoryService = useFullCategoryService;
 }