Exemple #1
0
 public GanresController(IGanresRepository r)
 {
     repo = r;
 }
Exemple #2
0
 public HomeController(IBooksRepository r1, IAuthorRepository r2, IGanresRepository r3)
 {
     repo1 = r1;
     repo2 = r2;
     repo3 = r3;
 }