@using System.Text.RegularExpressions
@using System.Globalization;
@model LecturesViewModel
@{
ViewData["Title"] = "Vorlesungsplan";
string GetBranchName(string branch)
{
Regex regex = new Regex(@".* - (.*)");
var match = regex.Match(branch);
if (match.Success)
{
return match.Groups[1].Value;
}
else
{
return branch;
}
}
}
@section Header {