public string Get([FromServices] CustomRepository repo, [FromQuery] string key)
        {
            Console.WriteLine(repo.Get(key));
            repo.Text = "Invalid value";
            Console.WriteLine(repo.Text);

            return("Get OK");
        }
 public IEnumerable <T> getAll()
 {
     return(Repository.Get());
 }