public LoginController()
 {
     loginService = new LoginService();
 }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     var connectionString = "Data Source=(local);Initial Catalog=UserDatabase;User ID=user;Password=password";
     var loginService = new LoginService(connectionString);
     var controller = new LoginController(loginService);
 }