Changeset c2f79d7 for iknow-api/Repository
- Timestamp:
- 12/08/25 21:51:12 (10 months ago)
- Branches:
- master
- Children:
- bb656bc
- Parents:
- a92a2a4
- Location:
- iknow-api/Repository
- Files:
-
- 2 edited
-
Implementations/UserRepository.cs (modified) (2 diffs)
-
Interface/IUserRepository.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Repository/Implementations/UserRepository.cs
ra92a2a4 rc2f79d7 1 1 using iknow_api.Models; 2 2 using iknow_api.Data; 3 using iknow_api.Models;4 3 using Microsoft.EntityFrameworkCore; 5 4 … … 64 63 return await _context.User.CountAsync(); 65 64 } 65 66 66 } 67 67 } -
iknow-api/Repository/Interface/IUserRepository.cs
ra92a2a4 rc2f79d7 1 using iknow_api.Models;1 using iknow_api.Models; 2 2 namespace iknow_api.Repositories 3 3 { … … 11 11 Task AddHighSchoolAsync(HighSchool highSchool); 12 12 Task<int> GetUsersCountAsync(); 13 Task<User > GetUserByIdAsync(int id);13 Task<User?> GetUserByIdAsync(int id); 14 14 Task<User?> GetOnlyUserByIdAsync(int id); 15 15
Note:
See TracChangeset
for help on using the changeset viewer.
