public ActionResult Salvar(SetorViewModel model) { if (ModelState.IsValid) { SetorAppService.Salvar(model.Setor); } return(PartialView("_NotificationMessagesPartial")); }