public async Task <IActionResult> GetById(int id) { var weight = await _weightService.GetById(id); return(Ok(weight)); }