private async void SaveChangesCommandExecuted() { DefaultSetting.User = User; DefaultSetting.EnquiryStatus = EnquiryStatus; if (!DefaultSettings.Any()) { _adminDataUnit.DefaultSettingsForEnquiriesRepository.Add(DefaultSetting); } IsDirty = false; await _adminDataUnit.SaveChanges(); }