Benmakhlouf Saad

Benmakhlouf Saad

  • NA
  • 134
  • 13k

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)