29 строки
956 B
C#
29 строки
956 B
C#
#region Copyright Syncfusion Inc. 2001-2024.
|
|
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
|
|
// Use of this code is subject to the terms of our license.
|
|
// A copy of the current license can be obtained at any time by e-mailing
|
|
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
// applicable laws.
|
|
#endregion
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace EJ2MVCSampleBrowser.Models
|
|
{
|
|
public class Country
|
|
{
|
|
public string CountryName { get; set; }
|
|
public string CountryId { get; set; }
|
|
|
|
public List<Country> CountryList()
|
|
{
|
|
List<Country> country = new List<Country>();
|
|
country.Add(new Country() { CountryName = "Australia", CountryId = "2" });
|
|
country.Add(new Country() { CountryName = "United States", CountryId = "1" });
|
|
return country;
|
|
}
|
|
}
|
|
}
|