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();
        }
Esempio n. 2
0
 public MunrosController(IMunroRepository repository)
 {
     this.repository = repository;
 }