private void CheckDbExists() { if (!fileSystemService.CheckFileExists(DbService.DatabaseName)) { messageBoxService.ShowError(Resources.Resources.DbNotExistsErrorText, DbService.DatabaseName); throw new Exception("DB not exists in root folder"); } }