Example #1
0
 public void Configuration(IAppBuilder app)
 {
     app.MapSignalR();
     ConfigureAuth(app);
     MappingProfile.Configure();
 }
Example #2
0
 public MoviesController()
 {
     _context = new ApplicationDbContext();
     _mapper  = MappingProfile.Configure().CreateMapper();
 }
 public CustomersController()
 {
     _context = new ApplicationDbContext();
     _imapper = MappingProfile.Configure().CreateMapper();
 }