public ActionResult CountGamesInOrder() { var userId = CurrentUser.Id; if (userId == Guid.Empty) { userId = GetUserId(); } var gameCount = _ordersService.CountGamesInOrder(userId); return(PartialView("CountGamesInOrder", gameCount)); }
public ActionResult CountGamesInOrder() { var userId = CurrentUser.Id; if (userId == Guid.Empty) { userId = GetUserId(); } var gameCount = _ordersService.CountGamesInOrder(userId); return(PartialView("CountGamesInOrder", gameCount)); }