Inheritance: IStoreService
示例#1
0
 public HomeController(ISession session,
     IStoreRepository repository)
 {
     _session = session;
     _service = new StoreService(repository);
 }
示例#2
0
 public ProductController(IStoreRepository repository)
 {
     _service = new StoreService(repository);
 }