public EmployeeAttendance CreateObject(EmployeeAttendance employeeAttendance, IEmployeeService _employeeService)
 {
     employeeAttendance.Errors = new Dictionary <String, String>();
     if (_validator.ValidCreateObject(employeeAttendance, _employeeService, this))
     {
         _repository.CreateObject(employeeAttendance);
     }
     return(employeeAttendance);
 }
Exemple #2
0
 public EmployeeAttendance CreateObject(EmployeeAttendance employeeAttendance, EmployeeService _employeeService)
 {
     _repository.CreateObject(employeeAttendance);
     return(employeeAttendance);
 }