6
Answers

Pass variable from controller to view

Hi,
I want to pass this varible "diff"  from controller to view (Razor)
 
TimeSpan diff = vacationRttDemand.EndDate - vacationRttDemand.BeginDate; 
 
and after passing , i want do display it ino label or labelfor
 
Thanks 
Answers (6)