예제 #1
0
        public void Cadastrar(PlanoCadastroModel model)
        {
            var plano = Mapper.Map <PlanoEntity>(model);

            domainService.Cadastrar(plano);
        }
예제 #2
0
 public void Cadastrar(PlanoCadastroViewModel model)
 {
     service.Cadastrar(Mapper.Map <Plano>(model));
 }