Beispiel #1
0
        // GET: Attendance/Details/5
        public async Task <ActionResult> Details(TeacherReport data)
        {
            if (data == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            List <TeacherReport> report = await _reportRepo.AdministrativeReport(data.TeacherTypeId);

            if (report == null)
            {
                return(HttpNotFound());
            }
            return(View(report));
        }