Exemplo n.º 1
0
 public async Task <IActionResult> GetParts()
 {
     return(Ok(await _service.GetParts()));
 }
Exemplo n.º 2
0
 private List <ContractPartViewModel> GetParts()
 {
     return(Service.GetParts().GetAwaiter().GetResult());
 }