Пример #1
0
 public void Register(IComposer composer)
 {
     composer.RegisterType <IUserService, UserService>()
     .RegisterType <IRoleService, RoleService>();
 }
Пример #2
0
 public void Register(IComposer composer)
 {
     composer.RegisterType <IUnitOfWork, UnitOfWork>();
 }
Пример #3
0
 public void Register(IComposer composer)
 {
     composer.RegisterType <IUserRepository, UserRepository>()
     .RegisterType <IRoleRepository, RoleRepository>();
 }