diff --git a/SurveyLib.Core/Models/MultipleAnswerQuestion.cs b/SurveyLib.Core/Models/QuestionVariants/MultipleAnswerQuestion.cs similarity index 70% rename from SurveyLib.Core/Models/MultipleAnswerQuestion.cs rename to SurveyLib.Core/Models/QuestionVariants/MultipleAnswerQuestion.cs index ec4349c..d2eb5b0 100644 --- a/SurveyLib.Core/Models/MultipleAnswerQuestion.cs +++ b/SurveyLib.Core/Models/QuestionVariants/MultipleAnswerQuestion.cs @@ -1,4 +1,4 @@ -namespace SurveyLib.Core.Models; +namespace SurveyLib.Core.Models.QuestionVariants; public class MultipleAnswerQuestion : QuestionBase { diff --git a/SurveyLib.Core/Models/SingleAnswerQuestion.cs b/SurveyLib.Core/Models/QuestionVariants/SingleAnswerQuestion.cs similarity index 70% rename from SurveyLib.Core/Models/SingleAnswerQuestion.cs rename to SurveyLib.Core/Models/QuestionVariants/SingleAnswerQuestion.cs index d99abe9..de1bb01 100644 --- a/SurveyLib.Core/Models/SingleAnswerQuestion.cs +++ b/SurveyLib.Core/Models/QuestionVariants/SingleAnswerQuestion.cs @@ -1,4 +1,4 @@ -namespace SurveyLib.Core.Models; +namespace SurveyLib.Core.Models.QuestionVariants; public class SingleAnswerQuestion : QuestionBase { diff --git a/SurveyLib.Core/Models/QuestionVariants/TextQuestion.cs b/SurveyLib.Core/Models/QuestionVariants/TextQuestion.cs new file mode 100644 index 0000000..f8912cf --- /dev/null +++ b/SurveyLib.Core/Models/QuestionVariants/TextQuestion.cs @@ -0,0 +1,5 @@ +namespace SurveyLib.Core.Models.QuestionVariants; + +public class TextQuestion : QuestionBase +{ +} \ No newline at end of file diff --git a/SurveyLib.Core/Models/TextQuestion.cs b/SurveyLib.Core/Models/TextQuestion.cs deleted file mode 100644 index ad05932..0000000 --- a/SurveyLib.Core/Models/TextQuestion.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace SurveyLib.Core.Models; - -public class TextQuestion : QuestionBase -{ -} \ No newline at end of file diff --git a/SurveyLib.Infrastructure.EFCore/Data/SurveyDbContext.cs b/SurveyLib.Infrastructure.EFCore/Data/SurveyDbContext.cs index f4023de..d77fb6d 100644 --- a/SurveyLib.Infrastructure.EFCore/Data/SurveyDbContext.cs +++ b/SurveyLib.Infrastructure.EFCore/Data/SurveyDbContext.cs @@ -1,5 +1,6 @@ using Microsoft.EntityFrameworkCore; using SurveyLib.Core.Models; +using SurveyLib.Core.Models.QuestionVariants; namespace SurveyLib.Infrastructure.EFCore.Data;