Horje
dotnet.com Code Example
dotnet.com
[ApiController]
public class PeopleController : ControllerBase 
{ 
    [HttpGet("people/all")] 
    public ActionResult<IEnumerable<Person>> GetAll()
    {
        return new []
        {
            new Person { Name = "Ana" },
            new Person { Name = "Felipe" },
            new Person { Name = "Emillia" }
        };
    }
}

public class Person
{
    public string Name { get; set; }
}




Csharp

Related
how to change the color of a textbox with button c# Code Example how to change the color of a textbox with button c# Code Example
C# Arithmetic operators Code Example C# Arithmetic operators Code Example
DisplayUnitType revit 2022 Code Example DisplayUnitType revit 2022 Code Example
c# skip debug attribute Code Example c# skip debug attribute Code Example
F# convert generic.List to list Code Example F# convert generic.List to list Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12