/// <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; }
/// <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; }
public UseFullCategoryController(IUseFullCategoryService useFullCategoryService) { this.useFullCategoryService = useFullCategoryService; }