public static PhoneOption GetPhoneOption(LoginUser loginUser, int phoneOptionID) { PhoneOptions phoneOptions = new PhoneOptions(loginUser); phoneOptions.LoadByPhoneOptionID(phoneOptionID); if (phoneOptions.IsEmpty) { return(null); } else { return(phoneOptions[0]); } }
public PhoneOption(DataRow row, PhoneOptions phoneOptions) : base(row, phoneOptions) { _phoneOptions = phoneOptions; }