public IActionResult Delete(Guid id)
 {
     _matriculaRepository.Delete(id);
     return(Ok());
 }
예제 #2
0
 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);
 }