public HttpResponseMessage getByGrouper(HttpRequestMessage request, string id) { var ProjectXGrouperDAO = new ProjectXGrouperDAO(); var list = ProjectXGrouperDAO.GetByGroup(id); ProjectXGrouperDAO.Dispose(); return(request.CreateResponse(HttpStatusCode.OK, list)); }
public HttpResponseMessage DeleteProjectXGrouper(HttpRequestMessage request, string GrouperId, string ProjectId) { var ProjectXGrouperDAO = new ProjectXGrouperDAO(); ProjectXGrouperDAO.Delete(GrouperId, ProjectId); ProjectXGrouperDAO.Dispose(); return(request.CreateResponse(HttpStatusCode.OK)); }
public HttpResponseMessage getProject(HttpRequestMessage request, string subproject, string delivery) { var ProjectXGrouperDAO = new ProjectXGrouperDAO(); var list = ProjectXGrouperDAO.GetByProject(subproject, delivery); ProjectXGrouperDAO.Dispose(); return(request.CreateResponse(HttpStatusCode.OK, list)); }