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