3PillarGlobal-Czechia / interview-app-api

API for Interview App.
MIT License
3 stars 1 forks source link

Feature: Create question data model and related repository #2

Closed PlesnikJakub closed 2 years ago

PlesnikJakub commented 2 years ago

Implement an IntrerviewQuestion model/entity that will reflect the Question model from

https://github.com/3PillarGlobal-Ostrava/blazor-interview-app/blob/b1b3cf0168678cebfe638fc714fc11e7c350541f/src/Shared/Models/InterviewQuestion.cs

Refactor all necessary parts and implement a repository that will enable CRUD operations.

        public string? Title { get; set; }

        [Required]
        public int? Difficulty { get; set; }

        [Required]
        public string? Category { get; set; }

        [Required]
        public string? Content { get; set; }