public IActionResult Listar() { using (OptusContext ctx = new OptusContext()) { return(Ok(artistasRepository.Listar())); } }
public IActionResult Listar() { return(Ok(artistasRepository.Listar())); }
public IActionResult Listar() { using (OptusContext ctx = new OptusContext()) { return(Ok(artistasRepository.Listar())); } }
public IActionResult Listar() { return(Ok(artistasRepository.Listar())); }