Refactoring: Added interfaces, custom exceptions, UserManager unit tests, dependency injection/inversion; Regex match search by date, keywords
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Logic.Exceptions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
@@ -20,7 +21,6 @@ namespace Data
|
||||
catch (SqlException e)
|
||||
{
|
||||
throw new DatabaseNetworkException("Unable to access FHICT VDI database", e);
|
||||
// Console.WriteLine("Database connection error. Are you connected to the VDI VPN?");
|
||||
}
|
||||
|
||||
return connection;
|
||||
|
Reference in New Issue
Block a user