public LocationController()
 {
     _db = new ApplicationDbContext();
     _mngr = new LocationManager(_db);
     _helper = new HttpResponseHelper<LocationVM>(this);
     _errHelper = new HttpResponseHelper<HttpError>(this);
 }
Exemplo n.º 2
0
 public TripManager(ApplicationDbContext db)
 {
     _db = db;
     _mngr = new LocationManager(_db);
 }
Exemplo n.º 3
0
 public StoryManager(ApplicationDbContext db)
 {
     _db = db;
     _locMngr = new LocationManager(_db);
     _tripMngr = new TripManager(_db);
 }