/// <summary> /// Get the current running instance of the object /// </summary> /// <returns></returns> public static AdminViewModels GetInstanceOfObject() { if (instanceOfObject == null) { instanceOfObject = new AdminViewModels(); } return(instanceOfObject); }
/// <summary> /// Destroys the current running instance /// </summary> public void DestroyInstance() { instanceOfObject = null; }