public IActionResult Get() { var result = _usuarioServices.GetAll(); if (!result.Any()) { return(NotFound()); } else { return(Ok(result)); } }
public IActionResult GetAll() { return(Ok(_usuarioServices.GetAll())); }