private IContextRepositories GetRepositories() { if (_repos == null) { _repos = DIFactory.Get <IContextRepositories>(); } return(_repos); }
public ValuesController(IContextRepositories r) { this.R = r; }
public NormalUsersController(IContextRepositories repos, IKernel kernel) { this.R = repos; ViewBag.R = repos; this.Kernel = kernel; }
private IContextRepositories GetRepositories() { if (_repos == null) _repos = DIFactory.Get<IContextRepositories>(); return _repos; }