diff --git a/src/deskstar-backend/Deskstar/Models/CreateResources/CreateBuildingDto.cs b/src/deskstar-backend/Deskstar/Models/CreateResources/CreateBuildingDto.cs index 46d3b9be..6b411466 100644 --- a/src/deskstar-backend/Deskstar/Models/CreateResources/CreateBuildingDto.cs +++ b/src/deskstar-backend/Deskstar/Models/CreateResources/CreateBuildingDto.cs @@ -4,8 +4,6 @@ namespace Deskstar.Models; public class CreateBuildingDto { - - [Required] public string BuildingName { get; set; } = null!; diff --git a/src/deskstar-backend/Deskstar/Models/CreateResources/CreateDeskTypeDto.cs b/src/deskstar-backend/Deskstar/Models/CreateResources/CreateDeskTypeDto.cs index a396273d..ea838b2e 100644 --- a/src/deskstar-backend/Deskstar/Models/CreateResources/CreateDeskTypeDto.cs +++ b/src/deskstar-backend/Deskstar/Models/CreateResources/CreateDeskTypeDto.cs @@ -4,9 +4,7 @@ namespace Deskstar.Models; public class CreateDeskTypeDto { - public CreateDeskTypeDto() - { - } + public CreateDeskTypeDto() { } [Required] public string DeskTypeName { get; set; } = null!; diff --git a/src/deskstar-frontend/deskTypes.js b/src/deskstar-frontend/deskTypes.js index 25460b79..f4ab4cb5 100644 --- a/src/deskstar-frontend/deskTypes.js +++ b/src/deskstar-frontend/deskTypes.js @@ -1,10 +1,10 @@ export const deskTypes = [ { - typeId: "1", - typeName: "Standard", + deskTypeId: "1", + deskTypeName: "Standard", }, { - typeId: "2", - typeName: "Height Adjustable", + deskTypeId: "2", + deskTypeName: "Height Adjustable", } ] \ No newline at end of file