Refactor namespace.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Aiursoft.AiurObserver;
|
||||
using Aiursoft.ChessServer.Data;
|
||||
using Aiursoft.ChessServer.Models;
|
||||
using Aiursoft.ChessServer.Models.ViewModels;
|
||||
using Aiursoft.WebTools.Services;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Aiursoft.AiurObserver;
|
||||
using Aiursoft.ChessServer.Data;
|
||||
using Aiursoft.ChessServer.Models;
|
||||
using Aiursoft.ChessServer.Models.ViewModels;
|
||||
using Aiursoft.CSTools.Services;
|
||||
using Aiursoft.WebTools.Services;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Aiursoft.Scanner.Abstractions;
|
||||
using System.Collections.Concurrent;
|
||||
using Aiursoft.ChessServer.Models;
|
||||
using Aiursoft.ChessServer.Models.ViewModels;
|
||||
|
||||
namespace Aiursoft.ChessServer.Data;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Aiursoft.ChessServer.Models;
|
||||
namespace Aiursoft.ChessServer.Models.ViewModels;
|
||||
|
||||
public class ChallengeViewModel
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Aiursoft.ChessServer.Models;
|
||||
namespace Aiursoft.ChessServer.Models.ViewModels;
|
||||
|
||||
public class CreateChallengeViewModel
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Chess;
|
||||
|
||||
namespace Aiursoft.ChessServer.Models;
|
||||
namespace Aiursoft.ChessServer.Models.ViewModels;
|
||||
|
||||
public class GameContext
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Aiursoft.ChessServer.Models;
|
||||
namespace Aiursoft.ChessServer.Models.ViewModels;
|
||||
|
||||
public class IndexViewModel
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Aiursoft.ChessServer.Models;
|
||||
namespace Aiursoft.ChessServer.Models.ViewModels;
|
||||
|
||||
public class DropChallengeViewModel
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@using Aiursoft.ChessServer.Controllers
|
||||
@model Aiursoft.ChessServer.Models.ChallengeViewModel
|
||||
@model Aiursoft.ChessServer.Models.ViewModels.ChallengeViewModel
|
||||
|
||||
<div class="jumbotron">
|
||||
<div class="container">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@model Aiursoft.ChessServer.Models.CreateChallengeViewModel
|
||||
@model Aiursoft.ChessServer.Models.ViewModels.CreateChallengeViewModel
|
||||
|
||||
<div class="jumbotron">
|
||||
<div class="container">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@using Aiursoft.ChessServer.Models
|
||||
@model Aiursoft.ChessServer.Models.IndexViewModel
|
||||
@model Aiursoft.ChessServer.Models.ViewModels.IndexViewModel
|
||||
|
||||
<div class="jumbotron">
|
||||
<div class="container">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Aiursoft.ChessServer.Views.Shared.Components;
|
||||
namespace Aiursoft.ChessServer.Views.Shared.Components.ChessBoard;
|
||||
|
||||
public class ChessBoard : ViewComponent
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@model Aiursoft.ChessServer.Views.Shared.Components.ChessBoardModel
|
||||
@model Aiursoft.ChessServer.Views.Shared.Components.ChessBoard.ChessBoardModel
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
Reference in New Issue
Block a user