Commit Graph

15 Commits

Author SHA1 Message Date
Artemy cdae63b223 optimization sql 2025-07-01 15:05:49 +07:00
Artemy 7aa1b1831a Improve friends search and error handling in API
Refactored FriendsController to provide more precise error responses and input validation. Enhanced FriendsService to handle new exception types and improved user search logic. Added tests for user search, updated repository to throw on empty search results, and implemented User equality override. Cleaned up Program.cs controller JSON options.
2025-06-30 12:47:53 +07:00
Artemy 05298c004c FriendsController 2025-06-27 19:12:31 +07:00
Artemy 672fc95823 Admins Repository
+ tests
2025-06-24 15:14:45 +07:00
Artemy 410a1ce1cc Admin stuff init
UserController
2025-06-22 21:34:04 +07:00
Artemy b75c0d3f5a Finished MessageRepository
+ Tests
2025-06-22 14:32:01 +07:00
Artemy 203bb5e5a4 MessageRepository + Tests
+ GetAllAsync rework
+ FindByIdAsync
+ rework FindBySenderAndReceiverIdAsync
2025-06-22 12:07:06 +07:00
Artemy 7d518c0882 AuthController work 2025-06-18 16:55:19 +07:00
Artemy de8d97e5bf Adding postfix Async 2025-06-17 21:27:16 +07:00
Artemy 22de0e9630 UserValidatorTests 2025-06-17 21:24:54 +07:00
Artemy e860abce40 work 2025-06-17 18:42:31 +07:00
Artemy 70e46e7648 more tests for user rep 2025-06-17 17:37:10 +07:00
Artemy 694750e25d Working on the UserRepository functionality
+ Tests
+ QueryableExtensions. It is an add-on that allows you to implement exceptions if the returned List would be empty.
2025-06-17 13:11:56 +07:00
Artemy 568b09ba81 I'm working on the UsersRepository
userValidotor has been added and tests are being developed
2025-06-17 11:57:57 +07:00
Artemy d62c38db51 DbGovor init 2025-06-16 22:31:45 +07:00