示例#1
0
 public void ActorOrganisation_Null_ThrowsException()
 {
     Assert.Throws <ArgumentNullException>(() => ActorOrganisation.ToViewModel(null));
 }
        public static async Task <ActorOrganisationViewModel> ToViewModelAsync(this ActorOrganisation source)
        {
            var viewModel = ActorOrganisation.ToViewModel(source);

            return(await Task.Run(() => viewModel));
        }