Ejemplo n.º 1
0
        public IHttpActionResult GetUserId(string userId)
        {
            ASD.BW.Common.Common bw = new ASD.BW.Common.Common();
            bool result             = bw.GetUserId(userId);

            return(Ok(result));
        }
Ejemplo n.º 2
0
        public HttpResponseMessage GetNavigationTreeByProjectId(string projectid)
        {
            string result = "";

            try
            {
                ASD.BW.Common.Common bw = new ASD.BW.Common.Common();
                result = bw.GetNavigationTreeByProjectId(projectid);
            }
            catch (Exception ex)
            {
                errlog.Log("BW", "Error", ex.Message, "ApiControllerClass", "GetNavigationTreeByProjectId");
            }
            return(Request.CreateResponse(HttpStatusCode.OK, result));
        }
Ejemplo n.º 3
0
        public HttpResponseMessage GetProjectDetailsByUserId(string userId, string clientId, string appType)
        {
            DataTable dtprojectDetails = new DataTable();

            try
            {
                ASD.BW.Common.Common bw = new ASD.BW.Common.Common();
                dtprojectDetails = bw.GetProjectDetailsByUserId(userId, clientId, appType);
            }
            catch (Exception ex)
            {
                errlog.Log("BW", "Error", ex.Message, "ApiControllerClass", "GetProjectDetailsByUserId");
            }
            return(Request.CreateResponse(HttpStatusCode.OK, dtprojectDetails));
        }
Ejemplo n.º 4
0
        public HttpResponseMessage GetTransitionQuestions(string sapfmid, string projectid)
        {
            DataTable dtTQData = new DataTable();

            try
            {
                ASD.BW.Common.Common bw = new ASD.BW.Common.Common();
                dtTQData = bw.GetTransitionQuestions(sapfmid, projectid);
            }
            catch (Exception ex)
            {
                errlog.Log("BW", "Error", ex.Message, "ApiControllerClass", "GetTransitionQuestions");
            }

            return(Request.CreateResponse(HttpStatusCode.OK, dtTQData));
        }