Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public UsersController(ICustRepository repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }