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)); }
public static List <GetMovesModel> GetMoves() { List <GetMovesModel> list = MoveDA.GetMoves <GetMovesModel>(); return(list); }