예제 #1
0
 private void DecrementCapacity(int capacityNeeded, MpGroup group)
 {
     group.RemainingCapacity = group.RemainingCapacity - capacityNeeded;
     _logger.Debug("Remaining Capacity After decrement: " + capacityNeeded + " : " + group.RemainingCapacity);
     _mpGroupRepository.UpdateGroupRemainingCapacity(group);
 }