public IActionResult Cadastrar()
        {
            var lista = _celaRepository.Listar();

            ViewBag.celas = new SelectList(lista, "CelaId", "Nome");
            return(View());
        }
 public IActionResult Listar()
 {
     return(View(_repository.Listar()));
 }
        private void CarregarCelas()
        {
            var lista = _celaRepository.Listar();

            ViewBag.celas = new SelectList(lista, "CelaId", "Nome");
        }