|
@@ -136,13 +136,13 @@ namespace GxPress.Repository.Implement.AdminVerify
|
|
|
/// </summary>
|
|
|
/// <param name="userId"></param>
|
|
|
/// <returns></returns>
|
|
|
- public async Task<string> GetConfirmationDate(int userId)
|
|
|
+ public async Task<DateTime> GetConfirmationDate(int userId)
|
|
|
{
|
|
|
var query = Q.NewQuery();
|
|
|
query.Select(nameof(Entity.AdminVerify.CreatedDate));
|
|
|
query.Where(nameof(Entity.AdminVerify.AdminId), userId);
|
|
|
query.OrderByDesc(nameof(Entity.AdminVerify.CreatedDate));
|
|
|
- return await _repository.GetAsync<string>(query);
|
|
|
+ return await _repository.GetAsync<DateTime>(query);
|
|
|
}
|
|
|
}
|
|
|
}
|