Additional tools for Admin portal, and huge NameSpace Revamp
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@page "/admin/recipes/edit"
|
||||
@model Recipes.EditModel
|
||||
@using Server.Data.Entities
|
||||
@using DataServer.Data.Entities
|
||||
@{
|
||||
ViewData["Title"] = Model.IsNew ? "Create Recipe" : $"Edit: {Model.Recipe.Name}";
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Server.Data;
|
||||
using Server.Data.Entities;
|
||||
using DataServer.Data;
|
||||
using DataServer.Data.Entities;
|
||||
|
||||
namespace VoidScavengers.Services.Admin.Pages.Recipes;
|
||||
namespace Server.Services.Admin.Pages.Recipes;
|
||||
|
||||
public class EditModel : AdminPageModel
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@page "/admin/recipes"
|
||||
@model Recipes.IndexModel
|
||||
@using Server.Data.Entities
|
||||
@using DataServer.Data.Entities
|
||||
@{
|
||||
ViewData["Title"] = "Recipes";
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Server.Data;
|
||||
using Server.Data.Entities;
|
||||
using DataServer.Data;
|
||||
using DataServer.Data.Entities;
|
||||
|
||||
namespace VoidScavengers.Services.Admin.Pages.Recipes;
|
||||
namespace Server.Services.Admin.Pages.Recipes;
|
||||
|
||||
public class IndexModel : AdminPageModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user