public async Task <IActionResult> Delete(int[] ids) { var entities = await _activityLogService.FindAsync(ids); if (entities.Any()) { await _activityLogService.DeleteAsync(entities); } return(Ok()); }