-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathPostViewModel.cs
33 lines (29 loc) · 1.07 KB
/
PostViewModel.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using MyBlog.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MyBlog.UI.Models
{
public class PostViewModel
{
public IEnumerable<Image> Images { get; set; }
public IEnumerable<User> Users { get; set; }
public IEnumerable<Post> Posts { get; set; }
public IEnumerable<Category> Categories { get; set; }
public IEnumerable<Comment> Comments { get; set; }
public IEnumerable<Page> Pages { get; set; }
public IEnumerable<Widget> Widgets { get; set; }
public Post Post { get; set; }
virtual public IEnumerable<User> UserDetails{get;set;}
public PagingInfo PagingInfo { get; set; }
public int? CurrentCategory { get; set; }
public string CurrentTag { get; set; }
public string HomeImage { get; set; }
public string HomeImageText { get; set; }
public string DisplayLastCategory { get; set; }
public string DisplayLastPost { get; set; }
public string DisplayGoogleAdv { get; set; }
}
}