Created
February 1, 2020 15:58
-
-
Save CoreProgramm/0d4e1af2ca41d92f575886dc164cf283 to your computer and use it in GitHub Desktop.
Difference between AddSingleton vs AddScoped vs AddTransient in asp.net core
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 interface IMobileService | |
{ | |
IEnumerable<Mobile> GetAll(); | |
Mobile Add(Mobile mobile); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment