public async Task <JsonResult> EmployeeAttendance(string username, string month)
        {
            int currentMonth = int.TryParse(month, out int result) ? result : DateTime.Now.Month;

            StatisticsService statistics = new StatisticsService(_employeeRepository);
            var model = await statistics.EmployeeAttendance(username, currentMonth);

            return(Json(model, JsonRequestBehavior.AllowGet));
        }