public ActionResult Calculate(System.DateTime dailyDate)
        {
            if (dailyDate==null)
            {
                return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
            }
            if (dailyDate == null)
            {
                return HttpNotFound();
            }

            ModelState.Clear();
            Manager m = new Manager();
            m.calculateDailyFinances(dailyDate);
            m.getData("getDailyFinances");
            return View("DailyFinances",m);
        }
        public ActionResult CalculateMonthly(int month,string year)
        {

            if (month < 0 || string.IsNullOrEmpty(year))
            {
                return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
            }
            if (month < 0 || string.IsNullOrEmpty(year))
            {
                return HttpNotFound();
            }


            ModelState.Clear();
            Manager m = new Manager();
            m.calculateMonthlyFinances (month,year);
            m.getData("getMonthlyFinances");
            return View("MonthlyFinances", m);
        }
 public ActionResult Details()
 {
     Manager m = new Manager();
     m.getData("getStaffDataWithDailyHours");
     return View(m);
 }
 public ActionResult YearlyFinances()
 {
     Manager m = new Manager();
     m.getData("getYearlyFinances");
     return View(m);
 }
        public ActionResult CalculateCountry(string country)
        {
            if (string.IsNullOrEmpty(country))
            {
                return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
            }
            if (string.IsNullOrEmpty(country))
            {
                return HttpNotFound();
            }

            ModelState.Clear();
            Manager m = new Manager();
            m.calculateCountrySales(country);
            m.getData("getCountrySales");
            return View("CountrySales", m);
        }
 public ActionResult CountrySales()
 {
     Manager m = new Manager();
     m.getData("getCountrySales");
     return View(m);
 }
 public ActionResult Orders()
 {
     Manager m = new Manager();
     m.getData("getOrders");
     return View(m);
 }
 public ActionResult Staff()
 {
     Manager m = new Manager();
     m.getData("getStaffDetailsManager");
     return View(m);
 }
 public ActionResult Whisky()
 {
     Manager m = new Manager();
     m.getData("getProductInfo");
     return View(m);
 }