private HoldingViewModel HoldingViewModel(Holding holding) =>
 new HoldingViewModel(holding)
 {
     BranchName = branchesService.BranchName(holding.BranchId)
 };
Esempio n. 2
0
 public void BranchNameForCheckedOutBranch()
 {
     Assert.Equal(Branch.CheckedOutBranch.Name,
                  branchesService.BranchName(Branch.CheckedOutId));
 }