protected void MockLastBillingDateTime_Click(object sender, EventArgs e)
    {
        var controller = new eRestaurant.Framework.BLL.TempController();
        var info = controller.getLastBillDateTime();

        SearchDate.Text = info.ToString("yyyy-MM-dd");
        SearchTime.Text = info.ToString("HH:mm:ss");
    }
 protected void MockLastBillingDateTime_Click(object sender, EventArgs e)
 {
     var controller = new eRestaurant.Framework.BLL.TempController();
     var info = controller.GetLastBillDateTime();
     //formatting date for use in an <input type = "date"> HTML5 control
     SearchDate.Text = info.ToString("yyyy-MM-dd");
     //formatting time for use in an <input type="time"> HTML5 control
     SearchTime.Text = info.ToString("HH:mm:ss"); //HH 24hour clock, hh is 12hour clock
 }
    protected void MockLastBillingDateTime_Click(object sender, EventArgs e)
    {
        var controller = new eRestaurant.Framework.BLL.TempController();
        var info       = controller.GetLastbillDateTime();

        // formatting date for use in a n <input type="date"> HTML5 control
        SearchDate.Text = info.ToString("yyyy-MM-dd");

        // formatting time for use in an <input type="time"> HTML5 control
        SearchTime.Text = info.ToString("HH:mm:ss"); // HH is 24 hour clock, hh is 12 hour clock
    }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         var controller = new TempController();
         var data = controller.ListMenuCategories();
         //Hook the data up to the GridView
         MenuCategoryGrid.DataSource = data;
         MenuCategoryGrid.DataBind();
     }
 }