public UserRepository(RegulationContext context) { this.db = context; }
public EFUnitOfWork(RegulationContext context) { //db = new RegulationContext(new DbContextOptions<RegulationContext>()); //need to correct db = context; }