public HttpResponseMessage DownloadbaseFintrakFinalmanualTEMPAWAITING(HttpRequestMessage request) { return(GetHttpResponse(request, () => { string approvalstatus = "AWAITINGAPPROVAL"; MPRDownloadBaseFintrakFinalManualTEMPStatus obj = new MPRDownloadBaseFintrakFinalManualTEMPStatus(); var ddb = obj.MPRDownloadBaseFintrakFinalManualTEMP(approvalstatus); return request.CreateResponse(HttpStatusCode.OK, ddb); })); }
public HttpResponseMessage DownloadbaseFintrakFinalmanualTEMPusingparamsAPPROVED(HttpRequestMessage request, string search) { return(GetHttpResponse(request, () => { string approvalstatus = "APPROVED"; MPRDownloadBaseFintrakFinalManualTEMPStatus obj = new MPRDownloadBaseFintrakFinalManualTEMPStatus(); var ddb = obj.MPRDownloadBaseFintrakFinalManualTEMPusingparams(approvalstatus, search); return request.CreateResponse(HttpStatusCode.OK, ddb); })); }
public HttpResponseMessage EditDownloadbaseFintrakFinalmanualTEMPDecline(HttpRequestMessage request, [FromBody] string[] selectedIds2) { return(GetHttpResponse(request, () => { //MPRDownloadBaseFintrakFinalManualTEMPStatus Obj = new MPRDownloadBaseFintrakFinalManualTEMPStatus(); //string selectedIds = String.Join(",", selectedIds2); //Obj.EditDownloadbasefintrakfinalmanualDecline(selectedIds); MPRDownloadBaseFintrakFinalManualTEMPStatus Obj = new MPRDownloadBaseFintrakFinalManualTEMPStatus(); foreach (var batch in selectedIds2.Batch(2000)) { string selectedIds = String.Join(",", batch); Obj.EditDownloadbasefintrakfinalmanualDecline(selectedIds); } return request.CreateResponse(HttpStatusCode.OK); })); }