Beispiel #1
0
        public async Task <IHttpActionResult> Report(long labId)
        {
            var result = await LabsDao.GenerateReport(this, labId);

            if (result == null)
            {
                return(NotFound());
            }

            return(JsonWithPermissions(result));
        }
Beispiel #2
0
 public async Task <ActionResult> Report(Lab lab)
 {
     return(View(await LabsDao.GenerateReport(this, lab)));
 }