Used GetDependencyResolver() instead of IoCConfiguration.DefaultDependencyResolver

Used GetDependencyResolver() instead of
IoCConfiguration.DefaultDependencyResolver to resolve the
ViewmodelFactory in LogicBase.

IoCConfiguration.DefaultDependencyResolver is only for static context.