public UserController(OregonTrailDBContext dbContext, UserManager <IdentityUser> userManager) { DataService = new UserDataService(dbContext); UserManager = userManager; }
public UserInviteController(OregonTrailDBContext dbContext, UserManager <IdentityUser> userManager, IOptions <SendGridOptions> options) { DataService = new UserInviteDataService(dbContext); UserManager = userManager; SendGridEmailService = new SendGridService(options); }
public UserDataService(OregonTrailDBContext dbContext) { context = dbContext; }
public ItemController(OregonTrailDBContext dbContext, IFileStorageService fileStorageService) { DataService = new ItemDataService(dbContext); StorageService = fileStorageService; }