public IViewComponentResult Invoke(int id, string entityType) { var logs = _auditLogRepository.GetLogsByEntityIdAndType(id, entityType); return(View(logs)); }