ej2-aspnetmvc-samples/Models/Country.cs

29 строки
956 B
C#
Исходник Обычный вид История

2024-11-18 19:08:17 +03:00
#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;
}
}
}