public HttpResponseMessage PostCreateQcSet(string matterId, string datasetId, string projectId, QCSet qcSet) { try { //TODO : QC Set will be created by WCF Service return(new HttpResponseMessage(HttpStatusCode.Created)); } catch (Exception ex) { return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex)); } }
public HttpResponseMessage PostCalculateSampleSize(string matterId, string datasetId, QCSet qcSet) { try { //TODO : Data will be fetched from WCF Service var size = 345; return(Request.CreateResponse(HttpStatusCode.OK, size)); } catch (Exception ex) { return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex)); } }