Exemplo n.º 1
0
 //initializes class and gets the repository (dependency injection)
 public InvoiceController(Repositories.IRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 2
0
 public ExportController(Repositories.IRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 3
0
 public TagController(IRepository <Tag> myTags)
 {
     this.myTags = myTags;
 }
Exemplo n.º 4
0
 public HomeController(Repositories.IRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 5
0
 //initializes class and gets the repository (dependency injection)
 public ProjectController(Repositories.IRepository repository)
 {
     _repository = repository;
 }