static void InsertEmployee() { SqlDbLite sqlDbLite = new SqlDbLite("ConnString"); IEmployeeService employeeService = new EmployeeService(sqlDbLite); employeeService.InsertOpAsync("jone", "doe").GetAwaiter().GetResult(); }
public EmployeeService(SqlDbLite sqlDbLite) { this.sqlDbLite = sqlDbLite; }