From my controller I have passed value module to view
public ActionResult Details(long id, string owner) { var module = _ownedModuleRepositor
Won't a ternary operation work here:
@(Model.End != null ? Model.End.ToString() : "")