예제 #1
0
 public static bool AddEdit(Config_ServiceType serviceType)
 {
     if (serviceType.CSTTypeId > 0)
     {
         return(Config_ServiceTypeDAL.Instance().UpdateServiceType(serviceType));
     }
     else
     {
         return(Config_ServiceTypeDAL.Instance().AddServiceType(serviceType));
     }
 }
예제 #2
0
        public JsonResult AddEdit(Config_ServiceType param)
        {
            var result = Config_ServiceTypeBLL.AddEdit(param);

            return(this.JObjectResult(result, null));
        }