/// <summary>
 /// Returns PocCntry associated to PocSubject
 /// </summary>
 /// <param name="siteId">Composite key for PocSubject</param>
 /// <param name="clnclId">Composite key for PocSubject</param>
 /// <returns>A single PocCntry</returns>
 public static SingleResult<PocCntry> GetPocCntry(decimal siteId, string clnclId)
 {
     var db = new ExpandSortEntities();
     var entities = db.PocSubject.Where(x => x.SiteId == siteId && x.ClnclId == clnclId)
         .Select(x => x.PocCntry);
     return SingleResult.Create(entities);
 }
 /// <summary>
 /// Returns all PocSubject, filtering and page size are controlled
 /// through the OData query attributes.
 /// </summary>
 /// <returns>A collection of PocSubject</returns>
 public static IEnumerable<PocSubject> GetPocSubject()
 {
     var db = new ExpandSortEntities();
     var entities = db.PocSubject;
     return entities;
 }