public MunrosControllerShould() { // Would normally mock here but no need in this instance. repository = new MunroRepository(); // Set up controller controller = new MunrosController(repository); // Set up basic query dto query = new MunroQueryDto(); }
public MunrosController(IMunroRepository repository) { this.repository = repository; }