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))); }
public HttpResponseMessage Get([FromUri] int Id, [FromBody] int LocationId) { return(Request.CreateResponse(HttpStatusCode.OK, PurchaseReturnRegister.GetDetails(Id, LocationId))); }