public static void Register() { SimpleIoc.Default.Register <IAuthenticationService, AuthenticationService>(); SimpleIoc.Default.Register <IUserService, UserService>(); SimpleIoc.Default.Register <IUserGroupService, UserGroupService>(); RepositoryIoc.Register(); }
private static void RegisterServices(IKernel kernel) { RepositoryIoc.RegisterServices(kernel); BusinessIoc.RegisterServices(kernel); }