public bool IsEqual(AddressTypesEnum enumItem) { return(this.TypeName == enumItem.ToString()); }
public static AddressType Create(AddressTypesEnum enumItem) { return(new AddressType { TypeName = enumItem.ToString() }); }