Exemplo n.º 1
0
        public IActionResult Register(RegisterBranchViewModel viewModel)
        {
            AccountLogic logic = new AccountLogic();

            logic.AddBrach(viewModel.Branch, viewModel.Account);
            return(RedirectToAction("Login"));
        }