Exemplo n.º 1
0
 /// <summary>
 /// Gets content from the ContentItemCountryLanguages table according user location/language.
 /// </summary>
 /// <param name="request"></param>
 public static List <ContentItem> GetContentBlock(GetContentItemRequest request)
 {
     return(ContentService.GetContentItems(request));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Retreives alert from ContentItem database table.
 /// </summary>
 /// <param name="content"></param>
 /// <returns></returns>
 public static List <ContentItem> GetAlert(GetContentItemRequest content)
 {
     return(ContentService.GetContentItems(content));
 }