Beispiel #1
0
 /// <summary>
 /// Construtor que utiliza um contexto já existente
 /// </summary>
 /// <param name="context"></param>
 public PassageService(DAL.PassageDAL context)
 {
     _passageDAL = context;
 }
Beispiel #2
0
 /// <summary>
 /// Construtor padrão
 /// </summary>
 public PassageService()
 {
     _passageDAL = new DAL.PassageDAL();
 }