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