Esempio n. 1
0
        public long DeleteAttendance(DateModal dmt)
        {
            long result;

            if (dmt.attendanceId.ToString() == "")
            {
                result = 0;
            }
            else
            {
                string AttedanceId = dmt.attendanceId.ToString();
                result = AttendanceRepository.DeleteAttendance(Guid.Parse(AttedanceId));
            }
            return(result);
        }