public JsonResult CalcEffectiveDate([FromQuery] string StartDate, [FromQuery] int NumDays) { DateTime dateEnd = new DateTime(); DateTime dtStartDate = new DateTime(); DateTime.TryParseExact(StartDate, "dd'/'MM'/'yyyy", CultureInfo.InvariantCulture, DateTimeStyles.None, out dtStartDate); dateEnd = cls.ReksaCalcEffectiveDate(dtStartDate, NumDays); return(Json(dateEnd)); }