record task and status using C# CORE 5 .NET
Solution name fr4nc3.com.tasks open project and build no error or warning
- controller taskController
- DTO ErrorResponse TasksCreatePayload TasksRessult
- Middleware (to read the payload body) enableMultipleStreamReadMiddleware MiddlewareEntensions
- Models Enum Tasks
- Development configuration
- Product Configuration without variables
- swagger
/****** Object: Table [dbo].[Tasks] Script Date: 2/24/2021 2:38:24 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Tasks](
[Id] [bigint] IDENTITY(1,1) NOT NULL,
[TaskName] [nvarchar](100) NOT NULL,
[IsCompleted] [bit] NOT NULL,
[DueDate] [datetime2](7) NOT NULL,
CONSTRAINT [PK_Tasks] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
Id TaskName IsCompleted DueDate
- Buy groceries 0 2021-02-02 00:00:00.0000000
- Workout 1 2021-01-01 00:00:00.0000000
- Paint fence 0 2021-03-15 00:00:00.0000000
- Mow Lawn 0 2021-06-11 00:00:00.0000000
18 MStest checking all several status