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()); }
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); }
public Picture GetPicture(int id) { return(_iPicture.GetProfilePicture(id)); }
public void OnGet() { ProfilePicture = _iPicture.GetProfilePicture(userID); AllBannedUsers = _reportService.BannedUsers(); }