public ActionResult Encaminhamento(SGPS.Models.RelatoriosModel periodo) { encaminhamento = new Models.encaminhamentoEntities(); var resultado = (from enc in encaminhamento.encaminhamentoes where enc.dtmDataEncaminhamento >= periodo.DtmDataInicio where enc.dtmDataEncaminhamento <= periodo.DtmDataFim select enc); return View(resultado.ToList()); }
public ActionResult Encaminhamento(SGPS.Models.RelatoriosModel periodo) { encaminhamento = new Models.encaminhamentoEntities(); var resultado = (from enc in encaminhamento.encaminhamentoes where enc.dtmDataEncaminhamento >= periodo.DtmDataInicio where enc.dtmDataEncaminhamento <= periodo.DtmDataFim select enc); return(View(resultado.ToList())); }