public ActionResult RepertoireClient() { var viewModel = new RepertoireVM(); viewModel.clientRepertoire = cli.GetAllClient(); return(View(viewModel)); }
public ActionResult RepertoireCieMari() { var viewModel = new RepertoireVM(); viewModel.cieMaritimeRepertoire = cieMar.GetAllCieMaritime(); return(View(viewModel)); }
public ActionResult RepertoireTrans() { var viewModel = new RepertoireVM(); viewModel.transRepertoire = trsMgr.GetAllTrans(); return(View(viewModel)); }
public ActionResult Repertoire(int?IdClient, int?idTrans, int?idCieMari) { var viewModel = new RepertoireVM(); if (IdClient != null) { viewModel.clientRepertoire = cli.GetAllClient(); return(View(viewModel)); } if (idTrans != null) { viewModel.transRepertoire = trsMgr.GetAllTrans(); return(View(viewModel)); } if (idCieMari != null) { viewModel.cieMaritimeRepertoire = cieMar.GetAllCieMaritime(); return(View(viewModel)); } viewModel.cieMaritimeRepertoire = cieMar.GetAllCieMaritime(); viewModel.clientRepertoire = cli.GetAllClient(); viewModel.transRepertoire = trsMgr.GetAllTrans(); return(View(viewModel)); }