Exemplo n.º 1
0
 /// <summary>
 /// Deletes an instrument throught API
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public async Task <Instrument> DeleteInstrumentAsync(int id)
 {
     if (id > 0)
     {
         var aux = await instrumentRepository.DeleteInstrumentAsync(id);
     }
     logger.WriteLog("Failed to Delete Async with id " + id, LogLevel.Warning);
     return(null);
 }