コード例 #1
0
ファイル: NewMoveModel.cs プロジェクト: ticolede/ProyectPRS
        public static bool NewMove(int IdGame, int IdMove, int IdPlayer, int IdRound)
        {
            Dictionary <string, dynamic> parameters = new Dictionary <string, dynamic>();

            parameters.Add(nameof(IdGame), IdGame);
            parameters.Add(nameof(IdMove), IdMove);
            parameters.Add(nameof(IdPlayer), IdPlayer);
            parameters.Add(nameof(IdRound), IdRound);
            return(MoveDA.NewMove(parameters));
        }
コード例 #2
0
        public static List <GetMovesModel> GetMoves()
        {
            List <GetMovesModel> list = MoveDA.GetMoves <GetMovesModel>();

            return(list);
        }