public async Task <IActionResult> GetMinPrice() { try { return(Ok(await laptopService.GetMinPrice())); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public async Task <IActionResult> GetMinPrice() { try { return(Ok(await laptopService.GetMinPrice())); } catch (Exception ex) { return(BadRequest(ex.Message)); } }