public static bool AddEdit(Config_ServiceType serviceType) { if (serviceType.CSTTypeId > 0) { return(Config_ServiceTypeDAL.Instance().UpdateServiceType(serviceType)); } else { return(Config_ServiceTypeDAL.Instance().AddServiceType(serviceType)); } }
public JsonResult AddEdit(Config_ServiceType param) { var result = Config_ServiceTypeBLL.AddEdit(param); return(this.JObjectResult(result, null)); }