|
|
|
@ -19,15 +19,6 @@ namespace MyFirstAPI.Controllers |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//[HttpGet] |
|
|
|
|
//public IEnumerable<Detalles> Get() |
|
|
|
|
//{ |
|
|
|
|
|
|
|
|
|
// return repositoriooo.GetDetalles(); |
|
|
|
|
//} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
|
[ProducesResponseType(StatusCodes.Status200OK)] |
|
|
|
|
public async Task<ActionResult> Get() |
|
|
|
@ -36,20 +27,5 @@ namespace MyFirstAPI.Controllers |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//[HttpGet] |
|
|
|
|
//public async Task<ActionResult<List<Detalles>>> Get() |
|
|
|
|
//{ |
|
|
|
|
// var funcion = new Repositoriooo(); |
|
|
|
|
|
|
|
|
|
// var lista = await funcion.GetDetalles(); |
|
|
|
|
// return lista.ToList(); |
|
|
|
|
//} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|