mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
25 lines
512 B
C#
25 lines
512 B
C#
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;
|
|
}
|
|
}
|
|
} |