コード例 #1
0
 private bool IsExistCheckList(int releaseID)
 {
     using (IReleaseChecklistAnswerRepository db = new ReleaseChecklistAnswerRepository())
     {
         return(db.IsExistCheckList(releaseID));
     }
 }
コード例 #2
0
 public PartialViewResult _ReleaseHeader(int ReleaseID, ReleaseGeneralDetails GeneralDetails)
 {
     using (IReleaseChecklistAnswerRepository db = new ReleaseChecklistAnswerRepository())
     {
         ViewBag.IsExistCheckList = db.IsExistCheckList(ReleaseID);
     }
     return(PartialView(GeneralDetails));
 }