public ActionResult Index(Guid id)
 {
     ViewBag.MestreId    = id;
     ViewBag.DadosMestre = _mestreAppService.GetById(id);
     return(View(_mestreDependenteAppService.GetAll()));
 }
        public ActionResult Details(Guid id)
        {
            var mestre = _mestreAppService.GetById(id);

            return(mestre == null ? (ActionResult)HttpNotFound() : View(mestre));
        }