add automapper

This commit is contained in:
chsakell
2016-09-30 10:36:22 +03:00
parent a0cc12f3fb
commit d0690695b6
8 changed files with 71 additions and 5 deletions

16
Models/MatchViewModel.cs Normal file
View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
namespace LiveGameFeed.Models
{
public class MatchViewModel : IEntityBase
{
public int Id { get; set; }
public string Host { get; set; }
public string Guest { get; set; }
public int HostScore { get; set; }
public int GuestScore { get; set; }
public DateTime MatchDate { get; set; }
public string League { get; set; }
}
}