Ejemplo n.º 1
0
 public Dpc()
 {
     this.database      = new MeetingRoomBookingSystemDbContext();
     this.meetingRoomId = int.Parse(System
                                    .Web
                                    .HttpContext
                                    .Current
                                    .Request
                                    .UrlReferrer
                                    .ToString()
                                    .Split('/')
                                    .Last());
     this.userId = HttpContext.Current.User.Identity.GetUserId();
 }
Ejemplo n.º 2
0
        protected override void OnInit(InitArgs e)
        {
            Update(CallBackUpdateType.Full);

            var db = new MeetingRoomBookingSystemDbContext();
        }