示例#1
0
        public void AssignPm(Guid id, AssignPmToProjectReq req)
        {
            var e = new PmToProjectAssigned
            {
                Id   = id,
                PmId = req.StaffId
            };

            _repository.Save(id, new [] { e });
        }
示例#2
0
 public async Task When(PmToProjectAssigned e)
 {
     await _writer.Update(e.Id, x => x.PmId = e.PmId);
 }