build break fix - removed missed new constrain which is not required anymore

This commit is contained in:
Lukas Behal 2018-07-03 14:57:45 +12:00
parent 84e4758df2
commit 92cb497db8

View File

@ -62,7 +62,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
return matchingItem; return matchingItem;
} }
private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration, new() private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration
{ {
var matchingItem = GetAll<T>().FirstOrDefault(predicate); var matchingItem = GetAll<T>().FirstOrDefault(predicate);