public CustsController(IMyService my, ICustRepository custsRepo, ICityRepository cityRepo, IMainIndustryRepository mainIndustryRepo, IIndustryRepository industryRepo, IPositionRepository positionRepo , IUserRepository userRepo, IContactRepository contactRepo) { My = (MyService)my; _custRepo = custsRepo; _cityRepo = cityRepo; _mainIndustryRepo = mainIndustryRepo; _industryRepo = industryRepo; _positionRepo = positionRepo; _contactRepo = contactRepo; _userRepo = userRepo; }
public UsersController(ICustRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }