public virtual BlogSearch ToLiquidBlogSearch(StorefrontModel.BlogSearchCriteria blogSearchCriteria) { var retVal = new BlogSearch(); retVal.InjectFrom <NullableAndEnumValueInjecter>(blogSearchCriteria); return(retVal); }
public virtual BlogSearch ToLiquidBlogSearch(StorefrontModel.BlogSearchCriteria blogSearchCriteria) { var retVal = new BlogSearch(); retVal.Author = blogSearchCriteria.Author; retVal.Category = blogSearchCriteria.Category; return(retVal); }
public virtual BlogSearch ToLiquidBlogSearch(StorefrontModel.BlogSearchCriteria blogSearchCriteria) { var factory = ServiceLocator.Current.GetInstance <ShopifyModelFactory>(); var retVal = factory.CreateBlogSearch(); retVal.InjectFrom <NullableAndEnumValueInjecter>(blogSearchCriteria); return(retVal); }
public static BlogSearch ToShopifyModel(this StorefrontModel.BlogSearchCriteria blogSearchCriteria) { var converter = new ShopifyModelConverter(); return(converter.ToLiquidBlogSearch(blogSearchCriteria)); }
public static BlogSearch ToShopifyModel(this StorefrontModel.BlogSearchCriteria blogSearchCriteria) { var converter = ServiceLocator.Current.GetInstance <ShopifyModelConverter>(); return(converter.ToLiquidBlogSearch(blogSearchCriteria)); }