public async Task <IActionResult> Search([FromBody] PageFilterModel _model) { var result = await busWarehouse.GetList(_model); return(Ok(context.WrapResponse(result))); }
public async Task <IActionResult> ReleaseLivestock([FromBody] ReleaseLivestockModel _model) { var result = await busLivestockProcess.ReleaseLivestock(_model); return(Ok(context.WrapResponse(result))); }
public async Task <IActionResult> FarmRegions() { var result = await busFarmRegion.GetCache(); return(Ok(context.WrapResponse(result))); }
public async Task <IActionResult> LivestockHistoryDetail([FromBody] ReportLivestockHistoryDetailRequest _request) { var result = await busReport.LivestockHistoryDetail(_request); return(Ok(context.WrapResponse(result))); }