public async Task <JsonResult> GetInventoryByWarehouse([FromBody] WarehouseIdInput input) { var result = await _material.GetInventoryByWarehouse(input); return(await GenerateResult(result, _userSettings)); }