public IActionResult OnGet(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            Quote = repository.GetQuoteById(id.Value);

            if (Quote == null)
            {
                return(NotFound());
            }

            return(Page());
        }
        public IActionResult OnGet(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            Quote = repository.GetQuoteById(id.Value);

            if (Quote == null)
            {
                return(NotFound());
            }

            var list = samurairepo.GetSamurais().ToList().Select(x => new { Id = x.Id, SamuraiName = $"{x.Name}" });

            Samurais = new SelectList(list, "Id", "SamuraiName");
            return(Page());
        }