示例#1
0
 public static void Close(IDictionary <string, object> sprint)
 {
     try
     {
         var sprintObject = Utils.ToObject <Engineer.EMF.Sprint>(sprint);
         service.CloseSprint(sprintObject, new List().GetUserId());
     }
     catch (BadRequestException ex)
     {
         throw new Exception(ex.ErrorMessage);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }