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(); }
protected override void OnInit(InitArgs e) { Update(CallBackUpdateType.Full); var db = new MeetingRoomBookingSystemDbContext(); }