Example #1
0
        private void RegisterBlType()
        {
            var dalTypes = BLIoCModules.RegisterTypes();

            foreach (var dt in dalTypes)
            {
                For(dt.Key).Use(dt.Value);
            }
        }
Example #2
0
 public static void Configure(IServiceCollection services)
 {
     Configure(services, DalIoC.RegisterDalTypes());
     Configure(services, BLIoCModules.RegisterTypes());
 }