public GamesController(HeaderController headerController) { _HeaderController = headerController; Entities.GameContext _context = new Entities.GameContext(); _NGSubscriptionsEntities = new NGSubscriptionsEntities(); subscriberRepository = new SubscriberRepository(_context, _NGSubscriptionsEntities); }
public HomeController(AppUserController appUserController, IAppUserRepository AppUserRepository, IServiceHeaderRepository ServiceHeader, MSISDNRepository mSISDNRepository, HeaderController headerController, IServiceRequestRepository serviceRequestRepository, TOOLS.WapHeaderUtil wapHeaderUtil) { _AppUserRepository = AppUserRepository; _AppUserController = appUserController; _ServiceHeaderRpository = ServiceHeader; _ServiceRequestRepository = serviceRequestRepository; _HeaderController = headerController; _MSISDNRepository = mSISDNRepository; _NGSubscriptionsEntities = new GameData.NGSubscriptionsEntities(); _WapHeaderUtil = wapHeaderUtil; }