public TurmaViewModel AtualizarTurma(TurmaViewModel model) { BeginTransaction(); var turma = TurmaAdapter.ToDomainModel(model); _turmaservice.AtualizarTurma(turma); Commit(); return(model); }