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); } }
public List <OH_OT_GetAllOtherContentResult> GetOtherContent() { var getAllOtherContent = _dbContext.OH_OT_GetAllOtherContent().ToList(); return(getAllOtherContent); }