public Task <int> SaveChanges() { return(_disciplinaRepository.SaveChanges()); }
public IActionResult Post([FromBody] Disciplina model) { _repository.Add(model); _repository.SaveChanges(); return(Created(nameof(GetById), model)); }
public Task <int> SaveChanges() { return(_disciplinaRepository.SaveChanges()); }
public IActionResult Post([FromBody] Disciplina model) { _repository.Add(model); _repository.SaveChanges(); return(Created(nameof(GetById), model)); }