public Pagination GetStudentResultByExamIdPagination(Pagination pagination, int examId) { try { pagination.TotalCount = examDal.StudentResultByExamIdTotalCount(pagination, examId); return(pagination); } catch (SqlException sqlException) { log.Error(sqlException.StackTrace); throw new FaultException <DBException>(new DBException(), Constants.ServerError); } }