Beispiel #1
0
 public List <CSF_Pages_GetPartial_Result> GetPartialByPageID(int id, Int16 active)
 {
     try
     {
         string keyPage = MyContext.CSF_Pages.Find(id).Key;
         if (keyPage != null)
         {
             return(MyContext.CSF_Pages_GetPartial(keyPage, active).ToList());
         }
         return(new List <CSF_Pages_GetPartial_Result>());
     }
     catch (Exception ex)
     {
         Logs.WriteLog(ex);
         throw;
     }
 }