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