// // GET: /StatusParcela/Create public ActionResult Incluir() { if (ClasseAuxiliar.UsuarioLogado == null || (ClasseAuxiliar.DataSelecionada == default(DateTime) || ClasseAuxiliar.AreaSelecionada == null)) { return(RedirectToAction("Index", "Home")); } IStatusParcelaProcesso processo = StatusParcelaProcesso.Instance; ViewData["dropTeste"] = processo.Consultar(); ViewData.Model = new StatusParcela(); return(View()); }
// // GET: /StatusParcela/Details/5 public ActionResult Detalhar(int id) { if (ClasseAuxiliar.UsuarioLogado == null || (ClasseAuxiliar.DataSelecionada == default(DateTime) || ClasseAuxiliar.AreaSelecionada == null)) { return(RedirectToAction("Index", "Home")); } IStatusParcelaProcesso processo = StatusParcelaProcesso.Instance; StatusParcela statusParcela = new StatusParcela(); statusParcela.ID = id; ViewData.Model = processo.Consultar(statusParcela, TipoPesquisa.E)[0]; return(View()); }
public ActionResult Listar() { if (ClasseAuxiliar.UsuarioLogado == null || (ClasseAuxiliar.DataSelecionada == default(DateTime) || ClasseAuxiliar.AreaSelecionada == null)) { return(RedirectToAction("Index", "Home")); } IStatusParcelaProcesso processo = StatusParcelaProcesso.Instance; ViewData.Model = processo.Consultar(); //EmprestimoEntities db = new EmprestimoEntities(); //StatusParcela sss = new StatusParcela(); //var teste = db.StatusParcelaSetSet.ToList(); ////emprestimoEntities db = new emprestimoEntities(); //ViewData.Model = teste; return(View()); }