Пример #1
0
 public ActionResult Get()
 {
     return(Ok(
                _buyService.GetAll()));
 }
Пример #2
0
 public async Task <IActionResult> Get(string id)
 {
     return(Ok(
                await _buyService.GetAll(id)
                ));
 }