public void GetPayrollHistory(Guid employeeId) { var payroll = payrollRepository.GetByEmployeeId(employeeId, Store.ActiveMonth, Store.ActiveYear); if (payroll != null) { ViewPayrollDetail(payroll); } }