public IActionResult Index() { var vm = new MinorViewModel() { Docent = "Marco" }; return(View(vm)); }
public async Task <IActionResult> Minors() { var min = await _getMinors.GetMinorList(); var minViewModel = new MinorViewModel() { Minors = min, Title = "Minors" }; return(View(minViewModel)); }
public async Task <IActionResult> Minor() { var getMinor = new GetMinors(); var ugMinor = await getMinor.GetUgMinors(); var minorViewModel = new MinorViewModel() { Minors = ugMinor, Title = "Undergraduate Minors" }; return(View(minorViewModel)); }
public async Task <IActionResult> Minors() { var singleFooter = new GetFooter(); var footer = await singleFooter.GetSimpleFooter(); var getMinor = new GetMinor(); var minor = await getMinor.GetAllMinor(); var minorViewModel = new MinorViewModel() { FooterInfo = footer, Minors = minor, Title = "Undergraduate Minors" }; return(View(minorViewModel)); }