Exemplo n.º 1
0
        public JsonResult Index(MatchModel matchModel)
        {
            MatchRepo matchRepo = new MatchRepo();

            matchRepo.Save(matchModel);
            return(Json("Your Data is Saved Successfully..", JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
 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();
 }