public int UpdateQuestionAnswere(int StudentExamDetailsId, int StudentExamId, int QuestionId, int Answer) { try { using (aspccEntities db = new aspccEntities()) { db.UpdateQuestionAnswere(StudentExamDetailsId, StudentExamId, QuestionId, Answer); return(1); } } catch (Exception ex) { com.Loginsert("DALUpdateQuestionAnswere", "UpdateQuestionAnswere", ex.StackTrace, ex.Message); return(0); } }