public IActionResult Delete(Guid id) { _matriculaRepository.Delete(id); return(Ok()); }
public async Task <bool> Handle(DeleteMatriculaCommand request, CancellationToken cancellationToken) { return(await _repo.Delete(_mapper.Map <MatriculaDto>(request))); }
public void Delete(string id) { _repository.Delete(id); }