public ActionResult CompanyHolidayCreateEdit(company_holiday company_Holiday) { try { result = companyUtil.PostCompanyHolidayCreate(company_Holiday); result.MessageType = MessageType.Success; } catch (Exception ex) { result.MessageType = MessageType.Error; result.Message = ex.Message; } return(Json(result)); }