show currect news list and user name in news detals
This commit is contained in:
19
Models/newsModel.cs
Normal file
19
Models/newsModel.cs
Normal 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 int NewsID { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Image { get; set; }
|
||||
public string category { get; set; }
|
||||
public string tag { get; set; }
|
||||
public DateTime? date { get; set; }
|
||||
public int? views { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user