mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 08:46:39 +00:00
Merge branch 'react' of https://github.com/rjNemo/ticket_manager
Include front-end changes to master
This commit is contained in:
commit
67f82a0b13
4 changed files with 29 additions and 0 deletions
5
Scripts/cleanDevDb.sh
Executable file
5
Scripts/cleanDevDb.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
rm -r Migrations
|
||||
rm app.db
|
||||
dotnet ef migrations add Migration1
|
||||
dotnet ef database update
|
||||
dotnet run
|
||||
6
Scripts/scaffoldControllers.sh
Executable file
6
Scripts/scaffoldControllers.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
rm Controllers/AppUsersController.cs
|
||||
rm Controllers/TicketsController.cs
|
||||
rm Controllers/ProjectsController.cs
|
||||
dotnet aspnet-codegenerator controller -name AppUsersController -async -api -m AppUser -dc AppDbContext -outDir Controllers
|
||||
dotnet aspnet-codegenerator controller -name TicketsController -async -api -m Ticket -dc AppDbContext -outDir Controllers
|
||||
dotnet aspnet-codegenerator controller -name ProjectsController -async -api -m Project -dc AppDbContext -outDir Controllers
|
||||
17
TicketManager.sln
Normal file
17
TicketManager.sln
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TicketManager", "TicketManager.csproj", "{45950CBF-5519-440D-AD30-35816EA6E48F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{45950CBF-5519-440D-AD30-35816EA6E48F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{45950CBF-5519-440D-AD30-35816EA6E48F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{45950CBF-5519-440D-AD30-35816EA6E48F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{45950CBF-5519-440D-AD30-35816EA6E48F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
@ -10,6 +10,7 @@ import { User } from "../types/User";
|
|||
export const ProjectController: FC = () => {
|
||||
// const [project, setProject] = useState({} as Project);
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
|
||||
// const { id } = useParams();
|
||||
|
||||
// const getProject: Function = (id: number) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue