21 lines
458 B
C#
21 lines
458 B
C#
using BlogDataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BlogContracts.ViewModels
|
|
{
|
|
public class TopicViewModel : ITopicModel
|
|
{
|
|
[DisplayName("Название темы")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public int Id { get; set; }
|
|
|
|
public int CategoryId { get; set; }
|
|
}
|
|
}
|