public ActionResult Incluir(FilialCadastroViewModel filialCadastroViewModel)
        {
            if (ModelState.IsValid)
            {
                var filial = _filialApplicationService.FilialCadastroAdicionar(filialCadastroViewModel);

                if (!filial.ValidationResult.IsValid)
                {
                    foreach (var erro in filial.ValidationResult.Errors)
                    {
                        ModelState.AddModelError(string.Empty, erro.ErrorMessage);
                    }
                    return(View(filial));
                }
                if (filial.ValidationResult.ToString() != string.Empty)
                {
                    ViewBag.Sucesso = filial.ValidationResult.Errors.ToList();
                    return(View(filial));
                }
                return(RedirectToAction("Index"));
            }
            return(View(filialCadastroViewModel));
        }
 public FilialCadastroViewModel FilialCadastroAdicionar(FilialCadastroViewModel filialCadastroViewModel)
 {
     throw new NotImplementedException();
 }