Exemplo n.º 1
0
        public static PhoneNumbersViewItem GetPhoneNumbersViewItem(LoginUser loginUser, int phoneID)
        {
            PhoneNumbersView phoneNumbersView = new PhoneNumbersView(loginUser);

            phoneNumbersView.LoadByPhoneID(phoneID);
            if (phoneNumbersView.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(phoneNumbersView[0]);
            }
        }
Exemplo n.º 2
0
 public PhoneNumbersViewItem(DataRow row, PhoneNumbersView phoneNumbersView) : base(row, phoneNumbersView)
 {
     _phoneNumbersView = phoneNumbersView;
 }