コード例 #1
0
 public void DeclineUpdateRequest(ProductTypeUpdateRequest updateRequest) => UpdateRequests.Remove(updateRequest);
コード例 #2
0
 public void ApplyUpdate(ProductTypeUpdateRequest updateRequest)
 {
     Name       = updateRequest.Name;
     CategoryId = updateRequest.CategoryId ?? CategoryId;
 }