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