public MesAnnoncesController(IAnnoncesRepository repository) { annoncesRepository = repository; secRepository = new SectionRepository(); catRepository = new CategoryRepository(); deviseRepository = new DeviseRepository(); condRepository = new ItemConditionRepository(); }
public AnnoncesController(IAnnoncesRepository repository) { annoncesRepository = repository; adtypeRepository = new AnnoncesTypeRepository(); communeRepository = new CommuneRepository(); deviseRepository = new DeviseRepository(); condRepository = new ItemConditionRepository(); secRepository = new SectionRepository(); catRepository = new CategoryRepository(); imageRepository = new AnnoncesImageRepository(); }
public DeviseService(IDeviseRepository repository, IMapper mapper) : base(repository) { this.repository = repository ?? throw new ArgumentNullException(nameof(repository)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public DeviseServices(IDeviseRepository dvs) { _DeviseRepository = dvs; }
public DeviseService(IDeviseRepository DeviseRepository) : base(DeviseRepository) { }