9a7c74e307
remove all unused imports
2025-05-31 01:34:42 +05:00
7ccf8cb018
Update SurveyLib and moved all AddScoped to DI methods
2025-05-31 01:32:50 +05:00
d73e0a104f
add basic versions of retrieving answers by question or completion
2025-05-31 01:24:48 +05:00
637e6c9824
Update SurveyLib and start refactoring endpoint paths
2025-05-31 01:03:12 +05:00
c2f6ba6dde
add completions methods (not final)
2025-05-31 00:14:37 +05:00
4b4739ce89
i'm sorry guys it's stupid commit...
2025-05-31 00:06:51 +05:00
db012aed92
move passwordhasher to helpers
2025-05-30 23:19:50 +05:00
d3830eacc4
add AnswerVariantsService.cs
2025-05-20 16:25:41 +05:00
658e25dd57
Fix deletion methods to directly use ID in services
...
Updated QuestionService and SurveyService to pass the ID directly to the repository's DeleteAsync method. This improves clarity and ensures consistency in how deletions are handled across both services.
Updated SurveyLib
2025-05-20 16:09:27 +05:00
c39fd4192a
delete answer variants for logic rework
2025-05-13 19:09:08 +05:00
ae1a8d2b97
add "me" endpoint
2025-05-13 18:09:06 +05:00
a50bc30f88
minor services fix
2025-04-27 16:07:10 +05:00
6692a91821
life quality changes
...
- refactored SurveyController.cs
- added ProducesResponseType to every endpoint in every controller
- remade mappers
2025-04-20 23:12:20 +05:00
585d6ac6e3
going to question management
2025-04-20 19:31:38 +05:00
00e93fde2e
implemented custom SurveyService.cs
2025-04-20 15:30:20 +05:00
7a1078457d
added UserContext for easy UserId getting
...
started writing custom services to implement users logic
2025-04-20 15:21:34 +05:00
4bfc10d7de
registration returns token now
2025-04-18 16:38:30 +05:00
55e82425a9
say NO to try-catch in controllers
...
- added ExceptionsMiddleware.cs
- added more Exception types
- removed all exceptions logic in controllers
2025-04-18 15:15:32 +05:00
eb271793ad
add custom exceptions and start using them in every service
2025-04-18 14:50:01 +05:00
7bff14a66e
bub fix 🥺
...
created authorization service interface
2025-04-18 14:15:52 +05:00
41ff1555f8
moved service to separate project (Kontur developer said "WTF WHY ARE U STORING SERVICES IN INFRASTRUCTURE SLAVA D")
2025-04-18 14:12:00 +05:00