mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
e2fb4a2f14
Update ADRs 075-079 with implementation details, revise the multi-language GOAP implementation plan, add test generators and parser test fixtures for Go, Rust, Java, C#, Swift, Python. Include skill validation schema updates and v2→v3 migration skill. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
527 B
C#
25 lines
527 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace MyApp.Services
|
|
{
|
|
public class UserService
|
|
{
|
|
private readonly IUserRepository _repository;
|
|
|
|
public UserService(IUserRepository repository)
|
|
{
|
|
_repository = repository;
|
|
}
|
|
|
|
public async Task<User?> GetUserAsync(int id)
|
|
{
|
|
return await _repository.FindByIdAsync(id);
|
|
}
|
|
|
|
public List<User> GetAllUsers()
|
|
{
|
|
return _repository.FindAll();
|
|
}
|
|
}
|
|
}
|