Benmakhlouf Saad

Benmakhlouf Saad

  • 1.9k
  • 134
  • 8.3k

Pass variable from controller to view

Jul 11 2016 8:21 AM
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)