//constructor public AccountController(OMDB_Context _c, IHostingEnvironment _ae, MailKitService _mks, OauthManager _om) { db = _c; appEnvironment = _ae; mailService = _mks; oauthManager = _om; }
public ParentController(IRepositoryWrapper repo, MailKitService mailKitService, GoogleMapsService mapsService) { _repo = repo; var test = _repo.Parent.FindAll().ToList(); _email = mailKitService; _maps = mapsService; }
public EventController(ApplicationDbContext context, Geocoding geocoding, PublicEvents publicEvents, MailKitService mailKitService) { _context = context; _geocoding = geocoding; _publicEvents = publicEvents; _mailKitService = mailKitService; }
public TitlesController(IHostingEnvironment _ae, OMDB_Context _c, MailKitService _mk) { appEnvironment = _ae; db = _c; mailService = _mk; genres = (from gen in _c.Genres select gen.RuGenreName).ToList(); genres.Add("все"); }
public GenresController(OMDB_Context context, MailKitService _mk) { db = context; mailService = _mk; }
public EventController(IRepositoryWrapper repo, GoogleMapsService mapsService, MailKitService email) { _repo = repo; _maps = mapsService; _email = email; }