DomainModel.StaffingResource.AddPhoneNumber C# (CSharp) Method

AddPhoneNumber() public method

public AddPhoneNumber ( PhoneNumberType type ) : PhoneNumber
type PhoneNumberType
return PhoneNumber
        public PhoneNumber AddPhoneNumber(PhoneNumberType type)
        {
            PhoneNumber phoneNumber = PhoneNumber.Create(type);
            PhoneNumbers.Add(phoneNumber);

            return phoneNumber;
        }