public TicketController()
 {
     db          = new TrainTicketsDbContext();
     UserManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(db));
 }
 public TicketController()
 {
     db = new TrainTicketsDbContext();
     UserManager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(db));
 }