private void RegisterModules(List <Type> types)
 {
     types.ForEach(type =>
     {
         _iocManager.RegiserIfNot(type);
     });
 }