public string UpdateLeave(FormCollection collection) { string result = string.Empty; result = _objSP.UpdateLeave(collection["fromDate"].ToString(), collection["reason"].ToString(), collection["leaveTypeCode"].ToString(), collection["entryMode"].ToString()); return(result); }