string file = Path.Combine(Directory.GetCurrentDirectory(), @"test", "index.png");string file = Path.Combine(Directory.GetCurrentDirectory(), @"wwwroot\test", "index.png");Uri CompleteUrl= new Uri("https://localhost:7123", "test/index.png"); public class Result
{
public bool error {get;set;}
public string error_text {get;set;}
public List<Users> content {get;set;}
}List<Users> content = new();
return json(new {error = false, error_text = "", content = content});