public IActionResult Get(int id) { if (Weighings.Read(id) == null) { return(NotFound()); } return(Ok(DTO.AsDTO(Weighings.Read(id)))); }
public IActionResult Get(int id) { if (Measures.Read(id) == null) { return(NotFound()); } return(Ok(DTO.AsDTO(Measures.Read(id)))); }