This commit is contained in:
andrei-mihnea-cerbu
2024-04-08 00:03:24 +03:00
parent 2ccec617a5
commit b48d5ee19e
168 changed files with 2877 additions and 1146 deletions
@@ -12,6 +12,7 @@ public class MedicalHistoryRepository : BasePostgreSQLRepository<MedicalHistory>
}
public async Task<MedicalHistory?> GetByUserIdAsync(Guid userId)
=> await _context.MedicalHistories.FirstOrDefaultAsync(d => d.UserId == userId);
}
{
return await _context.MedicalHistories.FirstOrDefaultAsync(d => d.UserId == userId);
}
}