public static void Add(EmployeesTypesDTO employeesTypes) { EmployeesTypesDAL.Add(EmployeesTypesCast.ToDAL(employeesTypes)); }
public static EmployeesTypesDTO GetById(int id) { return(EmployeesTypesCast.ToDTO(EmployeesTypesDAL.GetById(id))); }
public static void Update(EmployeesTypesDTO employeesTypes) { EmployeesTypesDAL.Update(EmployeesTypesCast.ToDAL(employeesTypes)); }
public static void Delete(EmployeesTypesDTO employeesTypes) { EmployeesTypesDAL.Delete(EmployeesTypesCast.ToDAL(employeesTypes)); }
public static List <EmployeesTypesDTO> GetAll() { return(EmployeesTypesCast.ListToDTO(EmployeesTypesDAL.GetAll())); }