PivotalTrackerAPI/Domain/Model/PivotalProject.cs
/// <summary>
/// Removes a project in Pivotal (not sure this works)
/// </summary>
/// <param name="user">The user to get the ApiToken from</param>
/// <param name="project">The project to remove</param>
/// <returns>The project that was removed</returns>
Removes a project in Pivotal (not sure this works)
Removes a project in Pivotal ( not sure this works )
public static PivotalProject DeleteProject(PivotalUser user, PivotalProject project)
    {
      string url = String.Format("{0}/projects/{1}?token={2}", PivotalService.BaseUrl, project.Id.GetValueOrDefault(), user.ApiToken);
      XmlDocument response = PivotalService.SubmitData(url, null, ServiceMethod.DELETE);
      return project;
    }
public static PivotalProject DeleteProject ( PivotalUser user , PivotalProject project ) { string url = String . Format ( " " , PivotalService . BaseUrl , project . Id . GetValueOrDefault ( ) , user . ApiToken ) ; XmlDocument response = PivotalService . SubmitData ( url , null , ServiceMethod . DELETE ) ; return project ; }
Removes a project in Pivotal (not sure this works)
Removes a project in Pivotal ( not sure this works )
The project that was removed
The project that was removed
user
PivotalUser
The user to get the ApiToken from
The user to get the ApiToken from
project
PivotalProject
The project to remove
The project to remove