Ejemplo n.º 1
0
 public OH_OT_GetAllOtherContentResult GetotherContentAccordingToId(Int64 Iid)
 {
     try
     {
         var obj = _dbContext.OH_OT_GetAllOtherContent().SingleOrDefault(x => x.IID == Iid);
         return(obj);
     }
     catch (Exception ex) { throw new Exception(ex.Message, ex); }
 }
Ejemplo n.º 2
0
        public List <OH_OT_GetAllOtherContentResult> GetOtherContent()
        {
            var getAllOtherContent = _dbContext.OH_OT_GetAllOtherContent().ToList();

            return(getAllOtherContent);
        }