public LocalRoleProvider()
 {
     this.repository = new MemeberReposiatory();
 }
 protected override void Initialize(System.Web.Http.Controllers.HttpControllerContext controllerContext)
 {
     if (StudentRepository == null) StudentRepository = new StudentRepository();
     if (MemeberReposiatory == null) MemeberReposiatory = new MemeberReposiatory();
     base.Initialize(controllerContext);
 }
示例#3
0
 protected override void Initialize(System.Web.Routing.RequestContext requestContext)
 {
     if (StudentRepository == null) StudentRepository = new StudentRepository();
     if (MemeberReposiatory == null) MemeberReposiatory = new MemeberReposiatory();
     base.Initialize(requestContext);
 }
 public LocalMembershipProvider()
 {
     this.repository = new MemeberReposiatory();
 }