Esempio n. 1
0
 public static void Add(TablesDTO employeesTypes)
 {
     TablesDAL.Add(TablesCast.ToDAL(employeesTypes));
 }
Esempio n. 2
0
 public static TablesDTO GetById(int id)
 {
     return(TablesCast.ToDTO(TablesDAL.GetById(id)));
 }
Esempio n. 3
0
 public static void Update(TablesDTO employeesTypes)
 {
     TablesDAL.Update(TablesCast.ToDAL(employeesTypes));
 }
Esempio n. 4
0
 public static void Delete(TablesDTO employeesTypes)
 {
     TablesDAL.Delete(TablesCast.ToDAL(employeesTypes));
 }
Esempio n. 5
0
 public static List <TablesDTO> GetAll()
 {
     return(TablesCast.ListToDTO(TablesDAL.GetAll()));
 }