示例#1
0
 public IlanController(IAdsService adsService, IPetTypeService petTypeService, ICategoryService categoryService,
                       IPetBreedService petBreedService, IGenderService petGenderSerivce, ICityService cityService, IUserService userService,
                       IWebHostEnvironment env, ICommentService commentService, IAdsDal adsDal)
 {
     _adsService       = adsService;
     _petTypeService   = petTypeService;
     _categoryService  = categoryService;
     _petBreedService  = petBreedService;
     _petGenderSerivce = petGenderSerivce;
     _cityService      = cityService;
     _userService      = userService;
     _env            = env;
     _commentService = commentService;
 }
示例#2
0
 public AdsManager(IAdsDal adsDal)
 {
     _adsDal = adsDal;
 }