public async Task <int> Delete(string codigo) { var result = _bancoRepository.GetID(codigo).Result; // usar o repositorio para realizar a operação //*********************************************************************************************** return(await _bancoRepository.Delete(result)); }
public async Task <long> Delete(string id) { // usar o repositorio para realizar a operação //*********************************************************************************************** return(await _bancoRepository.Delete(id)); }