public JsonResult GetDetails(Int64 id) { var res = _floorRentInfoManager.GetById(id); var resText = new FloorRentInfoVm { Id = res.Id, TenantInfoId = res.TenantInfoId, EffectiveDate = res.EffectiveDate, ExpiryDate = res.ExpiryDate, FloorLevel = res.FloorLevel, RentSpaceSFT = res.RentSpaceSFT, SftRate = res.SftRate, LessAITPercent = res.LessAITPercent, CommonBillRateSFT = res.CommonBillRateSFT, AdvancePay = res.AdvancePay, AdvanceAdjustment = res.AdvanceAdjustment, RentAIT = res.RentAIT, CommonAIT = res.CommonAIT }; return(Json(new { Data = resText, status = res == null ? false : true }, JsonRequestBehavior.AllowGet)); }
public JsonResult GetDetails(Int64 id) { return(Json(new { info = _floorRentInfoManager.GetById(id), status = true }, JsonRequestBehavior.AllowGet)); }