public JsonResult GeneratePropertyDropdown(NotificationEnums.NotificationModule module) { var type = _notificationTemplateService.GetNotificationEmailModelAssemblyName(module); var model = _widgetService.GetPropertyListFromType(type); return(Json(new ResponseModel { Success = true, Data = RenderPartialViewToString("Partials/_PropertyDropdown", model) })); }