¡@

Home 

2014/10/16 ¤W¤È 12:08:29

jquery Programming Glossary: showavailability

How to call URL action in MVC with javascript function?

http://stackoverflow.com/questions/8992721/how-to-call-url-action-in-mvc-with-javascript-function

var rentableUnits new List Unit _unitLogic.GetAllRentableUnitsByArea num rentableUnits var allAvailabilities new ShowAvailability rentableUnits.Count for int i 0 i rentableUnits.Count i var sTime GetFirstDayOfMonth today var eTime GetLastDayOfMonth.. rentableUnits.Count i var sTime GetFirstDayOfMonth today var eTime GetLastDayOfMonth today allAvailabilities i new ShowAvailability sTime eTime.AddHours 23.0 .AddMinutes 59.0 rentableUnits today today.AddMonths 1 var showAvailability new List ShowAvailability.. sTime eTime.AddHours 23.0 .AddMinutes 59.0 rentableUnits today today.AddMonths 1 var showAvailability new List ShowAvailability allAvailabilities return View new HomeFormViewModel showAvailability else var allAvailabilities new ShowAvailability 12..