update match scores

This commit is contained in:
chsakell
2016-09-30 16:01:17 +03:00
parent 8e6c0efe48
commit b0040ac178
12 changed files with 173 additions and 28 deletions

25
Core/FeedGenerator.cs Normal file
View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using LiveGameFeed.Models;
namespace LiveGameFeed.Core
{
public class FeedGenarator
{
public static Feed UpdateScore(Match match) {
Feed feed = new Feed();
feed.MatchId = match.Id;
if(match.Type == MatchTypeEnums.Football)
{
}
else if (match.Type == MatchTypeEnums.Basketball)
{
}
return feed;
}
}
}