/// <summary>
 /// 更新站内信接收记录信息
 /// </summary>
 /// <param name="dtos">包含更新信息的站内信接收记录信息DTO信息</param>
 /// <returns>业务操作结果</returns>
 public virtual Task <OperationResult> UpdateMessageReceives(params MessageReceiveInputDto[] dtos)
 {
     Check.Validate <MessageReceiveInputDto, Guid>(dtos, nameof(dtos));
     return(MessageReceiveRepository.UpdateAsync(dtos));
 }
 /// <summary>
 /// 删除站内信接收记录信息
 /// </summary>
 /// <param name="ids">要删除的站内信接收记录信息编号</param>
 /// <returns>业务操作结果</returns>
 public virtual Task <OperationResult> DeleteMessageReceives(params Guid[] ids)
 {
     Check.NotNull(ids, nameof(ids));
     return(MessageReceiveRepository.DeleteAsync(ids));
 }
 /// <summary>
 /// 检查站内信接收记录信息是否存在
 /// </summary>
 /// <param name="predicate">检查谓语表达式</param>
 /// <param name="id">更新的站内信接收记录信息编号</param>
 /// <returns>站内信接收记录信息是否存在</returns>
 public virtual Task <bool> CheckMessageReceiveExists(Expression <Func <MessageReceive, bool> > predicate, Guid id = default(Guid))
 {
     return(MessageReceiveRepository.CheckExistsAsync(predicate, id));
 }