update references

This commit is contained in:
yxw
2025-12-11 19:15:02 +08:00
parent ed2e3ecd24
commit 46e209081d
13 changed files with 101 additions and 23 deletions

View File

@@ -0,0 +1,29 @@
using Atomx.Common.Entities;
using Atomx.Data;
using Microsoft.Extensions.Logging;
namespace Atomx.Core.Grains
{
public interface IUserGrain : IGrainWithIntegerKey
{
Task<User> GetUserByName(string name);
}
public class UserGrain : Grain, IUserGrain
{
private readonly ILogger<UserGrain> _logger;
private readonly DataContext _dbContext;
public UserGrain(ILogger<UserGrain> logger, DataContext dbContext)
{
_logger = logger;
_dbContext = dbContext;
}
public Task<User> GetUserByName(string name)
{
throw new NotImplementedException();
}
}
}