public HttpResponseMessage PostCreateControlset(string matterId, string datasetId, string projectId,ControlSet controlSet) { try { //TODO:Controlset 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, ControlSet controlSet) { 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); } }