ASP NET Core Creates a MVC/Api Action




    C# recipes

    The following code declares an HttpGet method that takes a string parameter, nameof(). The method returns an Ok value if the request is successful, or an Error value if there is a problem.

    Shortcut: ac_action

    public async Task<IActionResult> ActionName(string name)
      return Ok;
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.