예제 #1
0
 public void OnGet()
 {
     ProfilePicture = _iPicture.GetProfilePicture(userID);
     Coupons        = _couponService.GetUserCoupons(userID);
     count          = _couponService.GetCouponCount(userID);
     FaresLeft      = FaresLeft - count;
 }
 public void OnGet()
 {
     ProfilePicture = _iPicture.GetProfilePicture(userID);
     CarPicture     = _iPicture.GetCarPicture(userID);
     User           = _userService.GetOneUser(userID);
     CruizeDriver   = _userService.GetOneDriver(userID);
 }
 public IActionResult OnGet()
 {
     ProfilePicture = _iPicture.GetProfilePicture(userID);
     liste          = _userService.GetAllUsers();
     if (!string.IsNullOrEmpty(Filter))
     {
         liste = _userService.FilterUsers(Filter);
     }
     return(Page());
 }
예제 #4
0
 public IActionResult OnGet()
 {
     ProfilePicture = _iPicture.GetProfilePicture(userID);
     liste          = _routeService.GetAllRoutes();
     if (!string.IsNullOrEmpty(Filter))
     {
         liste = _routeService.FilterRoutes(Filter);
     }
     FilteredList = FilterList();
     return(Page());
 }
 public void OnGet()
 {
     ProfilePicture = _iPicture.GetProfilePicture(userID);
     Passengerliste = _routeService.GetAllPassengerRoutes(userID);
     liste          = _routeService.GetAllDriverRoutes(userID);
 }
 public void OnGet()
 {
     ProfilePicture = _iPicture.GetProfilePicture(userID);
 }
예제 #7
0
 public Picture GetPicture(int id)
 {
     return(_iPicture.GetProfilePicture(id));
 }
예제 #8
0
 public void OnGet()
 {
     ProfilePicture = _iPicture.GetProfilePicture(userID);
     AllBannedUsers = _reportService.BannedUsers();
 }