public IActionResult GetCalendarItems()
        {
            int userId;

            int.TryParse(HttpContext.User.Claims.FirstOrDefault(m => m.Type == ClaimTypes.NameIdentifier).Value, out userId);
            var role = HttpContext.User.Claims.FirstOrDefault(m => m.Type == ClaimTypes.Role).Value;

            return(Ok(_assignmentService.GetCalendarItems(userId, role)));
        }