Adding unit tests, refactoring file access to a service, adding CatalogImageMissingException.

This commit is contained in:
Steve Smith
2017-04-28 19:56:32 -04:00
parent ac89e73bf4
commit 5dbbc4c791
10 changed files with 157 additions and 14 deletions

View File

@@ -14,5 +14,4 @@ namespace ApplicationCore.Interfaces
{
T Parse(IPrincipal principal);
}
}

View File

@@ -0,0 +1,16 @@
using ApplicationCore.Entities;
using Microsoft.eShopWeb.ApplicationCore.Entities;
using System.Security.Principal;
using System.Threading.Tasks;
namespace ApplicationCore.Interfaces
{
public interface IImageService
{
byte[] GetImageBytesById(int id);
}
}