/// <summary> /// Gets the system user. /// </summary> /// <returns></returns> public async Task <ModelSystemUser> GetSystemUser() { using (var db = new MancobaLocalDataApi(_connectionFactory, _platformCapabilities)) { if (_systemUser == null) { var response = await db.GetAnySystemUser(); _systemUser = response.ToModel(); } return(_systemUser); } }