public void Register(IComposer composer) { composer.RegisterType <IUserService, UserService>() .RegisterType <IRoleService, RoleService>(); }
public void Register(IComposer composer) { composer.RegisterType <IUnitOfWork, UnitOfWork>(); }
public void Register(IComposer composer) { composer.RegisterType <IUserRepository, UserRepository>() .RegisterType <IRoleRepository, RoleRepository>(); }