public PurchasableItemViewModel(IPurchaseable item) { this.Guid = item.Guid; this.Type = item.Type; this.Title = item.Title; this.Cost = item.Cost; }
public static bool IsCustomisableInvitation(IPurchaseable product) { return (product.Title.ToLower().Contains("customised") || product.Title.ToLower().Contains("custom")) && product.Title.ToLower().Contains("invitation"); }