移除RemoveTime

Uat_Study
hang 2022-04-01 10:32:05 +08:00
parent 8d3677544a
commit cee10f18ff
2 changed files with 1 additions and 7 deletions

View File

@ -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);

View File

@ -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; }