Example #1
0
        public static void Register()
        {
            SimpleIoc.Default.Register <IAuthenticationService, AuthenticationService>();
            SimpleIoc.Default.Register <IUserService, UserService>();
            SimpleIoc.Default.Register <IUserGroupService, UserGroupService>();

            RepositoryIoc.Register();
        }
Example #2
0
 private static void RegisterServices(IKernel kernel)
 {
     RepositoryIoc.RegisterServices(kernel);
     BusinessIoc.RegisterServices(kernel);
 }