A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dotnet/format/issues/2165 below:

Wrong indentation when using primary constructor · Issue #2165 · dotnet/format · GitHub

using Microsoft.AspNetCore.Mvc;

namespace Web.Controllers;

[Route("test")]
public class TestController : ControllerBase
{
  private readonly ILogger<TestController> logger;

  public TestController(ILogger<TestController> logger)
  {
    this.logger = logger;
  }

  [HttpPost("test/{id}")]
  public ActionResult Test(string id)
  {
    this.logger.LogInformation("Hello {Id}", id);
    return this.Ok("Format me");
  }
}

flomindanza, ElmarXCV, danflomin, lin-stephen, MattKotsenas and 3 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4