@model QuranAcademy.Models.RegisterModel

<option value=""> Select Class </option>

@if (ViewBag.ClassList != null)
{
    foreach (var item in ViewBag.ClassList)
    {
        <option value="@item.Value"> @item.Text</option>
    }
}

