public async Task <VersionInfo> GetVersion() { var versionInfo = new VersionInfo() { AssemblyVersion = Assembly.GetEntryAssembly().GetCustomAttribute <AssemblyInformationalVersionAttribute>().InformationalVersion }; var datadaseVersion = await _maintenanceRepository.GetDatabaseVersion().ConfigureAwait(false); versionInfo.DatabaseVersion = datadaseVersion; return(versionInfo); }