public async Task <IActionResult> GetHouseWithMaxMeterQnty() { var maxHouse = await _meterService.HouseWithMaxOrMinMeterQnty(true); if (maxHouse.Any()) { return(Ok(maxHouse)); } return(NoContent()); }
public async Task <IActionResult> GetHouseWithMaxMeterQnty() { var maxHouse = await _meterService.HouseWithMaxOrMinMeterQnty(true); if (maxHouse.Any()) { return(Ok(maxHouse)); } return(NoContent()); }