移除RemoveTime
This commit is contained in:
@@ -191,7 +191,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
[TypeFilter(typeof(TrialResourceFilter))]
|
||||
public async Task<IResponseOutput> DeleteSiteCRC(Guid id, bool isDelete)
|
||||
{
|
||||
var isSuccess = await _repository.UpdateFromQueryAsync<TrialSiteUser>(u => u.Id == id, u => new TrialSiteUser()
|
||||
var isSuccess = await _trialSiteUserRepository.UpdateFromQueryAsync(u => u.Id == id, u => new TrialSiteUser()
|
||||
{ IsDeleted = isDelete, DeletedTime = isDelete ? DateTime.Now : null });
|
||||
|
||||
return ResponseOutput.Result(isSuccess);
|
||||
|
||||
@@ -42,12 +42,6 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
public DateTime? DeletedTime { get; set; }
|
||||
|
||||
public DateTime? RemoveTime { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[ForeignKey("UserId")]
|
||||
public User User { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user