public static void Add(CurrentEmployeeDTO employeesTypes) { CurrentEmployeeDAL.Add(CurrentEmployeeCast.ToDAL(employeesTypes)); }
public static void Delete(CurrentEmployeeDTO employeesTypes) { CurrentEmployeeDAL.Delete(CurrentEmployeeCast.ToDAL(employeesTypes)); }
public static CurrentEmployeeDTO GetById(int id) { return(CurrentEmployeeCast.ToDTO(CurrentEmployeeDAL.GetById(id))); }
public static List <CurrentEmployeeDTO> GetAll() { return(CurrentEmployeeCast.ListToDTO(CurrentEmployeeDAL.GetAll())); }