public IActionResult List()
        {
            var user = this.User.HasClaim(c => c.Type == "Admin") || this.User.HasClaim(c => c.Type == "Email");

            _logger.LogInformation("Hello  {UserName}, {TodayDate}", this.User.Identity.Name, DateTime.Now);

            return(View(_accomplishment.GetAccomplishments()));
        }
        public IActionResult Get()
        {
            var accomplishments = _accomplishment.GetAccomplishments();

            if (accomplishments.Any())
            {
                return(Ok(accomplishments));
            }
            return(NotFound());
        }
        public IActionResult List()
        {
            var user = this.User.HasClaim(c => c.Type == "Admin") || this.User.HasClaim(c => c.Type == "Email");

            return(View(_accomplishment.GetAccomplishments()));
        }