public IMiddleware Create(Type middlewareType) { return((IMiddleware)_injectionResolver.GetService(middlewareType)); }
private IRepository <TEntity> Repository <TEntity>() where TEntity : BaseEntity { return(_safeInjectionResolver.GetService <IRepository <TEntity> >()); }