public ActionResult Copy(int id, int?forceId, int?forceLinkId, string forceVirtualFieldIds, string forceChildFieldIds, string forceChildLinkIds) { var result = FieldService.Copy( id, forceId, forceLinkId, forceVirtualFieldIds.ToIntArray(), forceChildFieldIds.ToIntArray(), forceChildLinkIds.ToIntArray() ); PersistResultId(result.Id); PersistFromId(id); PersistLinkId(null, result.LinkId); PersistVirtualFieldIds(result.VirtualFieldIds); PersistChildFieldIds(result.ChildFieldIds); PersistChildLinkIds(result.ChildLinkIds); return(JsonMessageResult(result.Message)); }