public string CheckByCode(string CodeSku, int pId) { var result = _api.CheckExitCode(CodeSku, pId, UserItem.AgencyID); // abc return(result == 1 ? "false" : "true"); }
public string CheckByCode(string Code, int pId) { var result = _productApi.CheckExitCode(Code, pId, UserItem.AgencyID); return(result == 1 ? "false" : "true"); }