Exemplo n.º 1
0
        public async Task <ActionResult> Edit(Branch branch)
        {
            try
            {
                await _branchService.EditBranch(branch);

                return(RedirectToAction(nameof(Index)));
            }
            catch
            {
                return(RedirectToAction(nameof(Index)));
            }
        }