public AvisoView(object parameter) { InitializeComponent(); Parameter = parameter; BindingContext = new AvisoViewModel(); }
public void Incluir(AvisoViewModel entity) { _repo.Incluir(_mapper.Map <Aviso>(entity)); }
public void Alterar(AvisoViewModel entity) { _repo.Alterar(_mapper.Map <Aviso>(entity)); }
public AvisoView() { InitializeComponent(); BindingContext = new AvisoViewModel(); }