Esempio n. 1
0
        public HttpResponseMessage getByGrouper(HttpRequestMessage request, string id)
        {
            var ProjectXGrouperDAO = new ProjectXGrouperDAO();
            var list = ProjectXGrouperDAO.GetByGroup(id);

            ProjectXGrouperDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, list));
        }
Esempio n. 2
0
        public HttpResponseMessage DeleteProjectXGrouper(HttpRequestMessage request, string GrouperId, string ProjectId)
        {
            var ProjectXGrouperDAO = new ProjectXGrouperDAO();

            ProjectXGrouperDAO.Delete(GrouperId, ProjectId);
            ProjectXGrouperDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK));
        }
Esempio n. 3
0
        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));
        }