public void TimesheetOperationsTest()
 {
     TimeTrackerOperations ops = new TimeTrackerOperations();
       var response = ops.GetTimeTrackerSummary(6);
     Assert.IsTrue(response.Success);
     Assert.AreEqual(4, response.Data.AllTimesheets.Count);
     Assert.AreEqual(22, response.Data.TotalHoursWorked);
 }
        public ActionResult TimeTrackerSummary(int empId)
        {
            TimeTrackerOperations ops = new TimeTrackerOperations();
            Response<TimeTrackerSummary> response = new Response<TimeTrackerSummary>();
            response = ops.GetTimeTrackerSummary(empId);

            return View(response);
        }
        public ActionResult TimeTrackerSummary(int empId)
        {
            TimeTrackerOperations ops = new TimeTrackerOperations();
            Response<TimeTrackerSummary> response = new Response<TimeTrackerSummary>();
            response = ops.GetTimeTrackerSummary(empId);
            var ptoOps = OperationsFactory.CreatePaidTimeOffOperations();
            var empsPtoRequests = ptoOps.ViewPtoRequestsForEmp(empId);
            ViewBag.empPtoList = empsPtoRequests.Data;

            return View(response);
        }