Fixed issues relating to domain repository and added more tests, starts creating DomainService

This commit is contained in:
Shannon
2015-01-21 17:43:03 +11:00
parent 7545c0c1da
commit 512e59871e
10 changed files with 220 additions and 115 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.UnitOfWork;
namespace Umbraco.Core.Services
{
public class DomainService : RepositoryService, IDomainService
{
public DomainService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory, ILogger logger)
: base(provider, repositoryFactory, logger)
{
}
public IEnumerable<IDomain> GetAll(bool includeWildcards)
{
throw new NotImplementedException();
}
public IEnumerable<IDomain> GetDomainsForContent(int contentId, bool includeWildcards)
{
throw new NotImplementedException();
}
}
}