1:
@if (@Model.DepositList != null)
{
}
2:
@if (@Model.DepositList != null)
{
foreach (Deposit_ViewModel dvm in @Model.DepositList)
{
@dvm.MemberName
}
}
3:
@foreach (Deposit_ViewModel dvm in @Model.DepositList)
{
}