mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Making UpdatedActivityModel serializable
It's used in TempData
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
using System.Collections.Specialized;
|
using System.Collections.Generic;
|
||||||
using System.Web.Mvc;
|
|
||||||
using Orchard.Workflows.Models;
|
using Orchard.Workflows.Models;
|
||||||
using Orchard.Workflows.Services;
|
using Orchard.Workflows.Services;
|
||||||
|
|
||||||
@@ -13,9 +12,9 @@ namespace Orchard.Workflows.ViewModels {
|
|||||||
public WorkflowRecord Workflow { get; set; }
|
public WorkflowRecord Workflow { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
public class UpdatedActivityModel {
|
public class UpdatedActivityModel {
|
||||||
public string ClientId { get; set; }
|
public string ClientId { get; set; }
|
||||||
public string Data { get; set; }
|
public string Data { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user