This commit is contained in:
@@ -125,11 +125,8 @@ namespace AyaNova.Api.Controllers
|
|||||||
return BadRequest(new ApiErrorResponse(ModelState));
|
return BadRequest(new ApiErrorResponse(ModelState));
|
||||||
}
|
}
|
||||||
|
|
||||||
//Instantiate the business object handler
|
var ret = await ct.NotifyEvent.Select(z => new { z.Id, z.Created, z.EventDate, z.UserId, z.EventType, z.AyaType, z.Name }).ToListAsync();
|
||||||
JobOperationsBiz biz = new JobOperationsBiz(ct, UserIdFromContext.Id(HttpContext.Items), UserRolesFromContext.Roles(HttpContext.Items));
|
return Ok(ApiOkResponse.Response(ret));
|
||||||
|
|
||||||
List<JobOperationsLogInfoItem> l = await biz.GetAllJobsLogsListAsync();
|
|
||||||
return Ok(ApiOkResponse.Response(l));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user