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