public static UserProductsViewItem GetUserProductsViewItem(LoginUser loginUser, int userProductID)
        {
            UserProductsView userProductsView = new UserProductsView(loginUser);

            userProductsView.LoadByUserProductID(userProductID);
            if (userProductsView.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(userProductsView[0]);
            }
        }
 public UserProductsViewItem(DataRow row, UserProductsView userProductsView) : base(row, userProductsView)
 {
     _userProductsView = userProductsView;
 }