public static void Close(IDictionary <string, object> diagram) { var diagramObject = Utils.ToObject <Engineer.EMF.UserStoryAttachment>(diagram); service.Close(diagramObject, new List().GetUserId()); }