public UsersController(PeschuDbContext db, UserManager <User> userManager, RoleManager <IdentityRole> roleManager)
 {
     this.db          = db;
     this.userManager = userManager;
     this.roleManager = roleManager;
 }
Beispiel #2
0
 public ResourceService(PeschuDbContext db)
 {
     this.db = db;
 }
Beispiel #3
0
 public ArticleService(PeschuDbContext db)
 {
     this.db = db;
 }
Beispiel #4
0
 public ArticleServiceTest()
 {
     Tests.Initialilze();
     this.db      = Tests.GetDatabase();
     this.service = new ArticleService(db);
 }
Beispiel #5
0
 public TagService(PeschuDbContext db)
 {
     this.db = db;
 }