public ProductsController()
 {
     repo = Repository.Current;
 }
示例#2
0
 static Repository()
 {
     repo = new Repository();
 }
示例#3
0
 public HomeController()
 {
     repo = Repository.Current;
 }