-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathN_aulas.cs
31 lines (30 loc) · 841 Bytes
/
N_aulas.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using CapaDatos;
using CapaEntidades;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapaNegocios {
public class N_aulas {
readonly static D_aulas d_Aulas = new D_aulas();
public static void Nueva(Aula aula) {
d_Aulas.Nueva(aula);
}
public static void Modificar(Aula aula) {
d_Aulas.Modificar(aula);
}
public static List<Aula> GetAulas() {
return d_Aulas.GetAulas();
}
public static DataTable Estados() {
DataTable dt = new DataTable();
dt.Columns.Add("Estado");
dt.Rows.Add("Perfecto");
dt.Rows.Add("Regular");
dt.Rows.Add("Mal");
return dt;
}
}
}