public void Update(StatsInventory entity) { Validate(entity); _inventoryStatisticsRepository.Update(entity); }