public HttpResponseMessage AddDepartAdmin(AddPersonDTO personDTO) { try { var result = repository.AddDepartAdmin(personDTO); //系统管理员任命院管理员 //通知打点:发给用户 //_noticeService.AddNotice( // _noticeService.GetUserIdByPersonId(personDTO.PersonId.Value), 108); return(ResponseWrapper.SuccessResponse(result)); } catch (Exception e) { return(ResponseWrapper.ExceptionResponse(e)); } }