コード例 #1
0
        public StudentLedger GetLedgerReport(int?studentNo)
        {
            try
            {
                var attendanceSummary = _repository.GetLedgerReport(studentNo);

                return(attendanceSummary);
            }
            catch (SqlException sqlEx)
            {
                throw new Exception(EnumUtils.GetStringValue(ErrorMessage.UserDefinedMessage), sqlEx);
            }
            catch (Exception ex)
            {
                throw new Exception(EnumUtils.GetStringValue(ErrorMessage.UserDefinedMessage), ex);
            }
        }