Example #1
0
 //constructor
 public AccountController(OMDB_Context _c, IHostingEnvironment _ae, MailKitService _mks, OauthManager _om)
 {
     db             = _c;
     appEnvironment = _ae;
     mailService    = _mks;
     oauthManager   = _om;
 }
Example #2
0
        public ParentController(IRepositoryWrapper repo, MailKitService mailKitService, GoogleMapsService mapsService)
        {
            _repo = repo;
            var test = _repo.Parent.FindAll().ToList();

            _email = mailKitService;
            _maps  = mapsService;
        }
Example #3
0
 public EventController(ApplicationDbContext context, Geocoding geocoding,
                        PublicEvents publicEvents, MailKitService mailKitService)
 {
     _context        = context;
     _geocoding      = geocoding;
     _publicEvents   = publicEvents;
     _mailKitService = mailKitService;
 }
Example #4
0
 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("все");
 }
Example #5
0
 public GenresController(OMDB_Context context, MailKitService _mk)
 {
     db          = context;
     mailService = _mk;
 }
Example #6
0
 public EventController(IRepositoryWrapper repo, GoogleMapsService mapsService, MailKitService email)
 {
     _repo  = repo;
     _maps  = mapsService;
     _email = email;
 }