public IHttpActionResult GetUserId(string userId) { ASD.BW.Common.Common bw = new ASD.BW.Common.Common(); bool result = bw.GetUserId(userId); return(Ok(result)); }
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)); }
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)); }
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)); }