public IActionResult Get([FromRoute] int id) { var res = supplier.Get(id); return(Ok(res)); }
public IActionResult GetById([FromRoute] int id) { var result = _supplier.Get(id); return(Ok(result)); }