public JsonResult Index(MatchModel matchModel) { MatchRepo matchRepo = new MatchRepo(); matchRepo.Save(matchModel); return(Json("Your Data is Saved Successfully..", JsonRequestBehavior.AllowGet)); }
static void Main(string[] args) { var gameRepo = new GameRepo(); var matchRepo = new MatchRepo(); var playerGameRepo = new PlayerGameRepo(); var playerRepo = new PlayerRepo(); var playerStats = new PlayerStatsRepo(); var teamRepo = new TeamRepo(); var teamMatchReop = new TeamMatchRepo(); var TournamentRepo = new TournamentRepo(); }