public string M_Kanjo_ExistsCheck([FromBody] KanjoModel Kjmodel) { if (Kjmodel == null) { Kjmodel = new KanjoModel(); } KeihiSettei_BL Khbl = new KeihiSettei_BL(); return(Khbl.M_Kanjo_ExistsCheck(Kjmodel)); }
public string M_Kanjo_ExistsCheck(KanjoModel Kjmodel) { BaseDL bdl = new BaseDL(); Kjmodel.Sqlprms = new SqlParameter[1]; Kjmodel.Sqlprms[0] = new SqlParameter("@KanjoCD", SqlDbType.VarChar) { Value = (object)Kjmodel.KanjoCD ?? DBNull.Value }; return(bdl.SelectJson("M_Kanjo_ExistsCheck", Kjmodel.Sqlprms)); }