public IViewComponentResult Invoke() { int loggedUserId = this.GetClaim <int>(nameof(DataAccess.Entities.User.Id)); return(Content(billRepository.Count(b => b.PaymentStatus == DataAccess.Enums.PaymentStatus.WaitingForPayment && b.Renter.Id == loggedUserId).ToString())); }