display news list and individual

This commit is contained in:
2024-07-31 11:55:01 +03:30
parent f310a94d5c
commit 2002c9fe09
5 changed files with 67 additions and 23 deletions

19
Models/newsModel.cs Normal file
View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication1.Models
{
public class newsModel
{
public string DisplayName { get; set; }
public string Title { get; set; }
public int? NewsID { get; set; }
public string Image { get; set; }
public string category { get; set; }
public string tag { get; set; }
public int? views { get; set; }
public DateTime? date { get; set; }
}
}