@@ -162,11 +162,11 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
|
||||
var info=await _doctorRepository.AddAsync(doctor,true);
|
||||
|
||||
await _userRepository.BatchUpdateNoTrackingAsync(x => x.EMail == inDto.EmailOrPhone, x => new User()
|
||||
{
|
||||
DoctorId = info.DoctorId,
|
||||
//await _userRepository.BatchUpdateNoTrackingAsync(x => x.EMail == inDto.EmailOrPhone, x => new User()
|
||||
//{
|
||||
// DoctorId = info.DoctorId,
|
||||
|
||||
});
|
||||
//});
|
||||
|
||||
result.DoctorId = info.Id;
|
||||
result.ReviewStatus = info.ReviewStatus;
|
||||
|
||||
Reference in New Issue
Block a user