aggiunta vista valorizzazione giacenze iniziale...
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using StockManMVC.Models;
|
||||
|
||||
namespace StockManMVC.Controllers
|
||||
{
|
||||
public class MagStatusController : Controller
|
||||
{
|
||||
private StockManEntities db = new StockManEntities();
|
||||
|
||||
// GET: MagStatus
|
||||
public ActionResult Index()
|
||||
{
|
||||
var vLocationVal = db.vLocationVal.Include(v => v.Location);
|
||||
return View(vLocationVal.ToList());
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
db.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user