public Guid Execute(Domain.Disciplina disciplina) { disciplinaReadOnlyRepository.Add(disciplina); return(disciplina.IdDisciplina); }
public IActionResult Adicionar(Domain.Disciplina disciplina) { var IdDisciplina = disciplinaAdicionarUseCase.Execute(disciplina); return(Ok(IdDisciplina)); }