Example #1
0
 public static void Update()
 {
     var dao = new RolDao();
     var secre = dao.Get(2).Value;
     secre.Nombre = "Secretaria Updated";
     secre = dao.Update(secre).Value;
     Console.WriteLine(secre);
 }
Example #2
0
 public static void Get()
 {
     var dao = new RolDao();
     Console.WriteLine(dao.Get(2).Value);
 }