protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         txtDate.Text        = Date.HasValue ? Date.Value.ToString("dd/MM/yyyy") : DateTime.Now.Date.ToString("dd/MM/yyyy");
         rptRoute.DataSource = TransferRequestByDateBLL.RouteGetAll().Where(x => x.Way == "To").Future().ToList();
         rptRoute.DataBind();
         rptBusType.DataSource = TransferRequestByDateBLL.BusTypeGetAll().Future().ToList();
         rptBusType.DataBind();
         if (LockingTransfer == null)
         {
             btnLockDate.Visible   = true;
             btnUnlockDate.Visible = false;
         }
         else
         {
             btnUnlockDate.Visible = true;
             btnLockDate.Visible   = false;
         }
         rptRouteByWay.DataSource = TransferRequestByDateBLL.RouteGetAllById(Route.Id).Future().ToList();
         rptRouteByWay.DataBind();
     }
 }