Skip to content

Instantly share code, notes, and snippets.

@abenedykt
Created September 9, 2015 05:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abenedykt/2f4dd0c64d8a13d4f6c5 to your computer and use it in GitHub Desktop.
Save abenedykt/2f4dd0c64d8a13d4f6c5 to your computer and use it in GitHub Desktop.
using System;
namespace Procent.DependencyInjection.app
{
public class UsersController
{
private readonly IApp _app;
public UsersController(IApp application)
{
_app = application;
}
public void RegisterUser(string email)
{
_app.RegisterUser(email);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment