Created
October 31, 2020 21:18
-
-
Save fatihdumanli/ba859b72470d51d50258e7a3631f1b7e to your computer and use it in GitHub Desktop.
Registering CustomAuthRepository to built-in IoC container.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void Configure(Container container) | |
{ | |
var userRepo = new SiteAuthRepository(); | |
container.Register<IUserAuthRepository>(userRepo); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment