public async Task <ActionResult> MyBids(int?page)
        {
            int pageSize = 20;

            page = page ?? 1;
            int userId = await userService.GetId(User.Identity.Name);

            var results = (await bidService.GetRange((page.Value - 1) * pageSize, pageSize, t => t.User == userId)).Select(t => t.ToMvcBid(userService));

            if (results == null)
            {
                ViewData["NoResults"] = "No auctions";
            }

            var searchResult = new SearchResult <Bid>(results, bidService.Count(t => t.User == userId) / pageSize, page.Value);

            return(View(searchResult));
        }