public IHttpActionResult Delete(decimal conta) { _ContasRepository.Delete(conta); return(Ok()); }
public RedirectToActionResult Delete(int id) { contaRepository.Delete(id); return RedirectToAction("Index"); }
public IHttpActionResult Delete(decimal conta) { _ContasRepository.Delete(conta); return(Ok()); }
public RedirectToActionResult Delete(int id) { contaRepository.Delete(id); return RedirectToAction("Index"); }