예제 #1
0
 // GET: Poliza
 public ActionResult Index()
 {
     return(View(_polizaService.GetAll(null, null, x => x.Cubrimiento, x => x.Riesgo)));
 }
 private void LoadCombos(int?cliente, int?poliza)
 {
     ViewBag.ClienteId = new SelectList(_clienteService.GetAll(), "Id", "NombreCompleto", cliente);
     ViewBag.PolizaId  = new SelectList(_polizaService.GetAll(), "Id", "Nombre", poliza);
 }