/// <summary>
 /// Creates a capability with the given value and adds it to the list of Capabilties
 /// </summary>
 /// <param name="resComponent">Component</param>
 /// <param name="resMetric">(Optional) Metric</param>
 /// <param name="resAbility">(Optional) Ability</param>
 /// <param name="resNote">(Optional) Notes</param>
 /// <param name="resOrder">(Optional) Order Number</param>
 /// <param name="resTypes">(Optional) List of Resource Types</param>
 public void AddCapability(string resComponent, string resMetric = null, string resAbility = null, string resNote = null, int?resOrder = null, List <ResourceCapabilityType> resTypes = null)
 {
     if (resTypes != null)
     {
         ResourceCapability c = new ResourceCapability(resComponent, resMetric, resAbility, resNote, resOrder, resTypes);
         AddCapability(c);
     }
     else
     {
         ResourceCapability c = new ResourceCapability(resComponent, resMetric, resAbility, resNote, resOrder);
         AddCapability(c);
     }
 }
 /// <summary>
 /// Adds the list of Capabilities
 /// </summary>
 /// <param name="cap">Resource Capability</param>
 public void AddCapability(ResourceCapability cap)
 {
     AddCapability(new List <ResourceCapability> {
         cap
     });
 }