Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
dncsvr committed Dec 18, 2023
1 parent 6268366 commit ea51d1a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dependency-injection/DependencyInjection/Controller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ public class Controller
{
readonly Singleton _singleton;

public Controller(Singleton singleton)
{
public Controller(Singleton singleton) =>

Check failure on line 10 in dependency-injection/DependencyInjection/Controller.cs

View workflow job for this annotation

GitHub Actions / Build & Test

Check failure on line 10 in dependency-injection/DependencyInjection/Controller.cs

View workflow job for this annotation

GitHub Actions / Build & Test

_singleton = singleton;
}

[HttpPost]
[Route("stuff")]
Expand Down

0 comments on commit ea51d1a

Please sign in to comment.