public DeleteTypeOutPut DeleteTypeList(DeleteTypeInPut inPut) { DeleteTypeOutPut outPut = new DeleteTypeOutPut(); var count = _mic_TypeRepository.DeleteTypeList(inPut.IdList); if (count > 0) { //删除成功 outPut.state = 1; } else { //删除失败 outPut.state = 0; } return(outPut); }
public int DeleteTypeList(DeleteTypeInPut inPut) { var outPut = _mic_TypeAppservice.DeleteTypeList(inPut); return(outPut.state); }