Esempio n. 1
0
        // GET: Shops/Details/5
        //[Authorize(Roles = "admin")]
        //[Authorize(Roles = "manager")]
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            IList <SPP_ShopTrans_Result> shops = db.SPP_ShopTrans().Where(s => s.idShop == id).ToList();

            return(View(shops));
        }