//initializes class and gets the repository (dependency injection) public InvoiceController(Repositories.IRepository repository) { _repository = repository; }
public ExportController(Repositories.IRepository repository) { _repository = repository; }
public TagController(IRepository <Tag> myTags) { this.myTags = myTags; }
public HomeController(Repositories.IRepository repository) { _repository = repository; }
//initializes class and gets the repository (dependency injection) public ProjectController(Repositories.IRepository repository) { _repository = repository; }