Example #1
0
 public HttpResponseMessage GetFilterDetails([FromBody] int LocationId, [FromUri] int?SupplierId, [FromUri] DateTime?from, [FromUri] DateTime?to)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, PurchaseReturnRegister.GetDetails(LocationId, SupplierId, from, to)));
 }
Example #2
0
 public HttpResponseMessage Get([FromUri] int Id, [FromBody] int LocationId)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, PurchaseReturnRegister.GetDetails(Id, LocationId)));
 }