public JsonResult GetByOrdinal(int id) { var auditLog = _auditLogService.FindByOrdinal(id); if (auditLog == null) { return ErrorResponse("Not found"); } return SingleResult(AuditLogViewModelHelper.ConvertToViewModel(auditLog)); }
public JsonResult GetByOrdinal(int id) { var auditLog = _auditLogService.FindByOrdinal(id); if (auditLog == null) { return ErrorResponse("Not found"); } return SingleResult(AuditLogViewModelHelper.ConvertToViewModel(auditLog)); }