public HttpResponseMessage Get([FromUri] int Id, [FromBody] int LocationId)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, CreditNote.GetDetails(Id, LocationId)));
 }
 public HttpResponseMessage Get([FromBody] int LocationId, [FromUri] int?CustomerId, [FromUri] DateTime?from, [FromUri] DateTime?to)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, CreditNote.GetDetails(LocationId, CustomerId, from, to)));
 }