public ActionResult DeleteForWhere(string Where) { UserLoginLogModel.Delete(Where); LogDAL.AppendSQLLog(MTConfig.CurrentUserID, typeof(UserLoginLogModel)); return(JsonSuccess(DeleteSuccess)); }
public ActionResult Delete(string id) { UserLoginLogModel.Delete(" where ID in ('@0')", id); LogDAL.AppendSQLLog(MTConfig.CurrentUserID, typeof(UserLoginLogModel)); return(JsonSuccess(DeleteSuccess)); }