public static int?GetCurrentOfficeId(this ProviderSnapshot @this)
 {
     return(@this.CurrentCalendarPeriod?.OfficeId ?? @this.CurrentEmployment?.OfficeID);
 }
 private void AndTheMappedSnapshot(PublishingAreaProviderSnapshot publishingAreaProviderSnapshot,
                                   ProviderSnapshot providerSnapshot)
 {
     _mapper.Setup(_ => _.Map <ProviderSnapshot>(publishingAreaProviderSnapshot))
     .Returns(providerSnapshot);
 }