Refactor the AlertService and AlertDAO classes:
- Create a new interface, named IAlertDAO, that contains the same methods as AlertDAO.
- AlertDAO should implement the IAlertDAO interface.
- AlertService should have a constructor that accepts IAlertDAO.
- The RaiseAlert and GetAlertTime methods should use the object passed through the constructor.
- AlertDAO implements IAlertDAO interface: Wrong answer
- AlertService accepts IAlertDAO in its constructor: Wrong answer
- The RaiseAlert and GetAlertTime methods use IAlertDAO passed through constructor: Wrong answer