摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using PetsStore.Models;using PetsStore.EntitiesRepositories; namespace PetsStore.Filters{ public class AdminAttribute:AuthorizeAttribute { private UserRepository userRepository = new UserRepository. 阅读全文
posted @ 2013-04-29 15:52 学亮 阅读(260) 评论(0) 推荐(0) 编辑