Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class DomainRegistry : Registry {
- protected override void configure() {
- ForRequestedType<ICategoryService>()
- .TheDefaultIsConcreteType<CategoryService>();
- ForRequestedType<ICategoryRepository>()
- .TheDefaultIsConcreteType<CategoryRepository>();
- }
- }
Add Comment
Please, Sign In to add comment