public void TestSelectLastUserID() { int employeeID; employeeID = _employeeAvailabilityAccessor.SelectLastCreatedEmployeeID(); Assert.AreEqual(100001, employeeID); }
/// <summary> /// Creator: Lane Sandburg /// Created: 4/9/2020 /// Approver:Jordan Lindo /// /// selects the newest employee for Availability /// </summary> /// <remarks> /// Updater: NA /// Update: NA /// Approver: NA /// </remarks> /// <returns>userID</returns> public int RetrieveLastEmployeeID() { try { return(_employeeAvailabilityAccessor.SelectLastCreatedEmployeeID()); } catch (Exception ex) { throw new ApplicationException("Unable to select employeeID", ex);; } }