Example #1
0
 public static void Delete(IDictionary <string, object> diagram)
 {
     try
     {
         service.Delete(Utils.ToObject <Engineer.EMF.UserStoryAttachment>(diagram), new List().GetUserId());
     }
     catch (BadRequestException e)
     {
         throw new Exception(e.ErrorMessage);
     }
     catch (NotExistItemException e)
     {
         throw new Exception(e.ErrorMessage);
     }
 }