// GET: Magazzino public ActionResult Index() { VerificaAbilitazioneUtenteConUscita(25); MagazzinoBLL bll = new MagazzinoBLL(); List <ModelloGiacenzaModel> model = bll.CaricaGiacenze(); return(View(model)); }
public ActionResult MOVIMENTOPOSIZIONECAMPIONARIO() { VerificaAbilitazioneUtenteConUscita(55); MagazzinoBLL bll = new MagazzinoBLL(); List <ModelloGiacenzaModel> model = bll.CaricaGiacenze(); return(View(model)); }
public ActionResult ReportExcelGiacenze() { MagazzinoBLL bll = new MagazzinoBLL(); List <ModelloGiacenzaModel> model = bll.CaricaGiacenze(); ExcelHelper excel = new ExcelHelper(); byte[] fileContents = excel.CreaExcelGiacenzeMagazzino(model); return(File(fileContents, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "GiacenzeMagazzini.xlsx")); }