コード例 #1
0
 public HttpResponseMessage Get([FromUri] int id, [FromBody] int CompanyId)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, CostCenter.GetDetails(id)));
 }
コード例 #2
0
 public HttpResponseMessage Get()
 {
     return(Request.CreateResponse(HttpStatusCode.OK, CostCenter.GetDetails()));
 }