public void AssignPm(Guid id, AssignPmToProjectReq req) { var e = new PmToProjectAssigned { Id = id, PmId = req.StaffId }; _repository.Save(id, new [] { e }); }
public async Task When(PmToProjectAssigned e) { await _writer.Update(e.Id, x => x.PmId = e.PmId); }