private void Update(int projectId, [Inject] IAssignmentDal dal) { using (BypassPropertyChecks) { var item = dal.Fetch(projectId, ResourceId); item.Assigned = ReadProperty(AssignedProperty); item.RoleId = Role; item.LastChanged = TimeStamp; dal.Update(item); TimeStamp = item.LastChanged; } }
public void Update(Assignment entity) { _assignmentDal.Update(entity); }