public UserController(IBicycleRepository bicycleRepository)
 {
     repository = bicycleRepository;
     var manager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ApplicationContext()));            
     var currentUser = manager.FindById(System.Web.HttpContext.Current.User.Identity.GetUserId());
     UserRentId = currentUser.UserRentId;
 }
 public RentController(IBicycleRepository bicycleRepository)
 {
     repository = bicycleRepository;
 }
 public AdminController(IBicycleRepository bicycleRepository)
 {
     repository = bicycleRepository;
 }
 public HomeController(IBicycleRepository bicycleRepository)
 {
     repository = bicycleRepository;
 }