public static void Exit() { IUnitOfWorkManager uowManager = DependencyManager.Instance().Resolve <IUnitOfWorkManager>(); var uow = uowManager.GetUoW(); uow.Commit(); uow.Dispose(); Application.Exit(); }
public static void Exit() { IUnitOfWorkManager uowManager = DependencyManager.Instance().Resolve <IUnitOfWorkManager>(); var uow = uowManager.GetUoW(); uow.Commit(); uow.Dispose(); Application.Exit(); }