﻿using TicTacToe.Core.Enums;

namespace TicTacToe.Web.ViewModels
{
    public class TurnResultViewModel
    {
        public string Status { get; set; }
        public string ErrorText { get; set; }
        public bool IsGameDone { get; set; }
        public PlayerCode Winner { get; set; }
        public byte OpponentMove { get; set; }
    }

    public static class RusultStatus
    {
        public static string Error = "error";
        public static string Success = "success";
    }
}
﻿using TicTacToe.Core.Enums;

namespace TicTacToe.Web.ViewModels
{
    public class TurnResultViewModel
    {
        public string status { get; set; }
        public string errorText { get; set; }
        public bool isGameDone { get; set; }
        public PlayerCode winner { get; set; }
        public int opponentMove { get; set; }

        public TurnResultViewModel()
        {
            opponentMove = -1;
        }
    }

    public static class RusultStatus
    {
        public static string Error = "error";
        public static string Success = "success";
    }
}
Change case for capability with js code.
Change case for capability with js code.
