public LivroController( IMidiaService midiaService) { this.midiaService = midiaService; }
public MidiaController( IMidiaService midiaService) { this.midiaService = midiaService; }
public MidiaApplication(IMidiaService Service) : base(Service) { _service = Service; }
public MidiaTest() { var repository = new MidiaRepository(); _service = new MidiaService(repository); }
public MidiaApplication(IMidiaService service, IMidiaRepository repository) : base(service) { _service = service; _repository = repository; }