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