protected override void ExecuteRequest(HttpContext context)
        {
            (bool isOk, User user) = CheckClaimsForUser(Request, context, _userRepository);
            if (!isOk || user == null)
            {
                return;
            }

            IEnumerable <NbPhysicalActivityEntryByLogin> totalPAEntries = _physicalActivitiesEntryRepository.GetTotalByLogin(user.Login).GetAwaiter().GetResult();

            if (totalPAEntries != null)
            {
                string PAEntriesJson = JsonSerializer.Serialize(totalPAEntries);
                context.Response.StatusCode = StatusCodes.Status200OK;
                context.Response.WriteAsync(PAEntriesJson).GetAwaiter().GetResult();
            }
            else
            {
                context.Response.StatusCode = StatusCodes.Status400BadRequest;
            }
        }